I\'m trying to connect to SQL Server using Windows authentication. Th开发者_StackOverflowe code works fine when I run it as a plain executable but when I put it in a Windows service I get the error: L
static void Main(string[] args) { var groupNames = args; var principalContext = new PrincipalContext(ContextType.Domain);
I have problems with Use开发者_开发百科rPrincipal.GetGroups() and GetAuthorizationGroups() method. Sometimes it works, sometimes not. The problem is that in the unsuccesfull cases the method contacts
I want to check for users in certain OU if they are members of groups (and which) from another certain OU.
i am running the following static void UpdateEmployeeID(string userName, string id) { PrincipalContext ctx = new PrincipalContext(ContextType.Domain);
I need to create/suspend user accounts for the following systems for when our department hires/dismisses employees:
I have to test an application using selenium. The application itself authenticates against an active directory server. All user accounts are of the form \"username@domain.tld\"开发者_Python百科. I hav
I am trying to connect to an Active Directory domain (W2K8R2 DC) in a different forest. To that end, I pass 开发者_如何学JAVAthe credentials into the following DirectoryEntry constructor:
Is there any way to authenticate against AD using the email field (and password, sure) ? I have both sAMAccountName and email set on my server but I have to validate u开发者_如何学Csing mail and not t
Here is what I\'ve been trying to do Build an ASP.NET MVC 3 application with forms authentication and active directory membership.The web server and database are different physical servers hence a do