By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
464,821 Members | 1,080 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 464,821 IT Pros & Developers. It's quick & easy.

setting a file's group access permissions

P: n/a
Having trouble finding information on this... I need to be able to grant and
revoke read/write permission to files for specific user groups on the
network. Never really looked at this before so I have no idea how to even
get an enumeration of users or groups from a DC.

Paul
Nov 21 '05 #1
Share this Question
Share on Google+
2 Replies

P: n/a
Hello Paul,

To enumerate or get details on users and groups from a DC, you use
System.DirectoryServices namespace types. There are numorous
samples/examples a Google search can get for you.

For access control list (ACL) related operations, there is no inbuilt way in
..NET 1.1 (but check out
http://www.gotdotnet.com/Community/U...-e0705af065d9).
..NET 2.0 however has support for ACL.

Hope this helps?

"Paul" <no***@executespammers.org> wrote in message
news:ud*************@TK2MSFTNGP15.phx.gbl...
Having trouble finding information on this... I need to be able to grant and
revoke read/write permission to files for specific user groups on the
network. Never really looked at this before so I have no idea how to even
get an enumeration of users or groups from a DC.

Paul

Nov 21 '05 #2

P: n/a
Hmmm. I'm a little surprised that isn't built in.

I see with the project you suggest that it's possible to get users and
groups from the DC, but it doesn't look like it provides a way to associate
these with file access and permissions.

Maybe I'll have to wait for Whidbey then.

Thanks,
Paul

"Siva M" <sh******@online.excite.com> wrote in message
news:Oy**************@tk2msftngp13.phx.gbl...
Hello Paul,

To enumerate or get details on users and groups from a DC, you use
System.DirectoryServices namespace types. There are numorous
samples/examples a Google search can get for you.

For access control list (ACL) related operations, there is no inbuilt way in .NET 1.1 (but check out
http://www.gotdotnet.com/Community/U...-e0705af065d9). .NET 2.0 however has support for ACL.

Hope this helps?

"Paul" <no***@executespammers.org> wrote in message
news:ud*************@TK2MSFTNGP15.phx.gbl...
Having trouble finding information on this... I need to be able to grant and revoke read/write permission to files for specific user groups on the
network. Never really looked at this before so I have no idea how to even
get an enumeration of users or groups from a DC.

Paul

Nov 21 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.