I have a ASP.NET Web API Application which loads all the Groups which contains a Specific Name from Active Directory into internal Database. This was ...
I have a ASP.NET Web API Application which loads all the Groups which contains a Specific Name from Active Directory into internal Database. This was ...
The following code returns all the computerprincipals that have logon date prior to 3 months ago but does not get those with null for a lastlogontimes ...
I'm trying to get user data from the active directory. Authentication process is true. But PrincipalSearcher returns a wrong username or password. ...
I'm using PrincipalSearcher and DirectorySearcher to filter users and specify which properties to grab. On testing it on 2 different networks. One net ...
I am searching in Active Directory for specific SamAccountName values using the PrincipalSearcher object because I want to return UserPrincipal's. I w ...
Env : Visual Studio 2013, FrameWork 4.5, Telerik Controls, C#, WebForm application Using : System.DirectoryServices and System.DirectoryServices.Acco ...
I have the following sample code: how would I assign only the result.DisaplayName and result.Name to the results list? can you configure the Princ ...
Principal Searcher seems to do a great job when building a filter to find an object with a particular value. What about without? For example How do I ...
i try to display all groups a special User is in. I also know, that i could do it like this: But i want to work arount PrincipalContext because i n ...
I do the extension of the UserPrincipal class to retrieve some missing properties that i need: Then, i can search easily like this: So, my new t ...
Scenario: Active Directory username search should return results against a search item (i.e. Firstname or Surname). There are 6 countries that are set ...
I'm trying to get informations (members of groups). I get every time the message "Information about the domain could not be retrieved (1355)" For ge ...
I trying to search my organization Active directory for users. If the FirstName or LastName or DisplayName matches a particular string value, it shou ...
I want to be able to query the active directory give a list of all groups containing certain words like Users or Administrators below is what i've got ...
Can't find anything in the MSDN documentation on this. I.e. is it enough to do, say: which is what most examples I've seen do, or should I do: ...