Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

PrincipalContext c# example


            PrincipalContext ctx = new PrincipalContext(contextType, domainname, username,password);
    
            UserPrincipal user = UserPrincipal.FindByIdentity(ctx, userName);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #PrincipalContext
ADD COMMENT
Topic
Name
4+5 =