ActiveDirectoryService.GetUser Method

Namespace:
Weavy.Core.Services
Assembly:
Weavy.Core.dll

GetUser(PrincipalContext, IdentityType, String)

Returns a User from Active Directory.

public static User GetUser(PrincipalContext context, IdentityType identityType, string identityValue)

Parameters

context
System.DirectoryServices.AccountManagement.PrincipalContext
identityType
System.DirectoryServices.AccountManagement.IdentityType
identityValue
System.String

Returns

User

A object-