My application (C#) use user & password domain to authorise when user login, domain has max password age policy, i want notify to user number of day will expire their password (like when login to
Why this code doesn work ? What I want to do is add domain user into local group. DirectorySearcher srch = new DirectorySearcher(new DirectoryEntry(\"LDAP://\" + \"AD1.test.it/DC=test,DC=it\"));
Consider that I have two users ,user1 and user2 are under the following base_dc respectively :base_dc:ou=\"ABC\",ou=\"DEF\",DC=\"XXX\"
I have a .NET 3.5 web application that uses the System.DirectoryServices.AccountManagement classes. When I search for some users I get a PrincipalOperationException: A referral was returned from the s
I\'m trying to bootstrap myself up on the System.DirectoryServices.AccountManagement namespace in order to solve another issue I\'m having. In net i want to toggle the \"ChangePasswordOnNextLogon\" fl
For each user we\'re retrieving the logon count in Active Directory (through C#). Now I\'ve noticed that some users are all set to 65535.
I have a code to get the list of OUs within a domain. Now this just lists all the OUs and does not give any way to distinguish between an OU and a sub OU.
I\'m trying to design an authentication system. The system will use ActivClient in order to communicate with a smart card.
I hav开发者_StackOverflowe a UserPrincipal object with a lot of properties, but I cannot find a property for the date that the password expires.
I have a DirectoryEntry object representing a user.From the DirectoryEntry.Properties collection, I am retrieving the \"manager\" property, which will give me a Distinguished Name (\"DN\") value for t