directoryservices
How do I determine who has access to modify an active directory group
I\'m working on creating an administrative interface that allows managing users in groups in Active Directory. 开发者_运维百科[详细]
2023-03-31 04:57 分类:问答Retrieve AD Custom Attribute in One Batch
Is it possible to use the System.DirectoryServices.AccountManagement library and the PrincipalSearcher class to retrieve a custom attribute for all Principals returned from the call to FindAll()?[详细]
2023-03-30 02:08 分类:问答If an OU contains 3000 users, how to use DirectorySearcher to find all of them?
I use this code: DirectoryEntry objEntry; DirectorySearcher objSearchEntry; SearchResult开发者_如何学GoCollection objSearchResult;[详细]
2023-03-21 07:25 分类:问答How to use the objectGUID get a DirectoryEntry?
I know ,we can get a DirectoryEntry like this: string conPath = \"LDAP://10.0.0.6/DC=wds,DC=gaga,DC=com\";[详细]
2023-03-19 23:12 分类:问答AD LDS ValidateCredentials at ContextType.ApplicationDirectory can't authenticate
I\'m trying to use AD LDS for user authentication in my MVC app. I\'ve managed to write some code that allows me to create/edit/delete users and groups, but i can\'t seem to authenticate them. Here is[详细]
2023-03-18 14:36 分类:问答does other Directory Services than Active Directory have a unique identifier for each object in the directory?
At active directory, each AD object has an objectGUID attribute which uniquely identifies the AD object even after it is renamed or moved, see link http://msdn.microsoft.com/en-us/library/ms677615%28v[详细]
2023-03-15 15:13 分类:问答Insert class instance in a List to SQL database
What is the best way to insert a List of class instances in SQL 2008 R2 table? I am using C# in a CLR Procedure to get and insert the data.[详细]
2023-03-14 19:29 分类:问答Checking group membership
I\'m using UserPrincipal.FindByIdentity(ctx, \"SomeAdminAccountName\").GetGroups() to authorize a user against a group in active directory. It works fine for simple groups, but not for nested groups.[详细]
2023-03-13 00:15 分类:问答Weird sAMAccountName when creating user account using DirectoryServices
my C# code uses the DirectoryServices namespace to create domain user accounts. DirectoryEntry deRoot = new DirectoryEntry(\"LDAP://OU=MYOU,DC=DOMAIN,DC=LOCAL\");[详细]
2023-03-08 23:39 分类:问答Error when using System.Directoryservices on 2008 R2 under a non-administrator account
I have a program that is using system.directoryservices and the directorysearcher. On 2003 R2 this works as any user account, and o开发者_如何转开发nly lists what they have rights to see.[详细]
2023-03-04 13:21 分类:问答