Write to File Server with UNC names get access denied

I’m using Developer and tried to write to a network file server with a UNC names
\\server\folder\filename and got access denied, what username do I use when I access that server?
I know the syntax worked because I wrote to a different UNC where there is no access restriction.

Thanks,
Ky Can