How to read ACLs in AD with dotnet managed C# ?

  • Thread starter Christian from France
  • Start date
C

Christian from France

I want to do the folllowing in C# :
I have a DirectoryEntry :
DirectoryEntry usr = new DirectoryEntry("LDAP://cn=Mike,ou=Users,dc=MyDc");

With "AD Users & Computers" Security tab an administrator had give to some
users the right to write the accountExpires property of this Account.
I want to read the ACLs on this object and obtain the list on the users who
have this right.
How can i do ?

Thanks


Christian
 
J

Joe Kaplan

Use the ObjectSecurity property to access the security descriptor as a .NET
managed type.

Joe K.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top