ActiveDirectoryService.GetUserByEmail Method

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

GetUserByEmail(PrincipalContext, string)

Returns a User from Active Directory.

public static User GetUserByEmail(PrincipalContext context, string email)

Parameters

context
System.DirectoryServices.AccountManagement.PrincipalContext
email
string

Returns

User

A User object-