Active Directory Permissions

Last post 09-27-2006 8:09 AM by dunnry. 1 replies.

Sort Posts:

  • Active Directory Permissions

    09-26-2006, 5:39 PM
    • Loading...
    • nissan
    • Joined on 05-10-2005, 4:32 PM
    • Posts 235
    How can I assign Active Directory Permissions to the "domain\userName" on only attributes that it needs to change.
    Any samples already out there?
  • Re: Active Directory Permissions

    09-27-2006, 8:09 AM
    • Loading...
    • dunnry
    • Joined on 06-24-2002, 12:17 PM
    • http://directoryprogramming.net
    • Posts 1,806
    • TrustedFriends-MVPs

    I am assuming you are talking about doing this programmatically.  If you are using .NET 2.0, this is much easier using the MACL and the ObjectSecurity property on the particular objects you want.  If you are using .NET 1.1, it is more difficult.  The easiest way I have found of doing this is to essentially first inspect the ACL before the change, then make the change in the UI, then inspect the object again and see the differences.  We have some sample code listed at the top of this forum that shows how to enumerate the permissions (Ch. 8 I think) on an object and will be a good start for you.

     

Page 1 of 1 (2 items)
Microsoft Communities
Page view counter