UserFind.

FindUserPrincipalNameByProperty(string, string) Method

Summary

Finds the User Principal Name by property.
Assembly
Cake.ActiveDirectory.dll
Namespace
Cake.ActiveDirectory.Users
Containing Type
UserFind

Syntax

public string FindUserPrincipalNameByProperty(string propertyName, string propertyValue)

Parameters

Name Type Description
propertyName string The property to search against.
propertyValue string The property value to search.

Return Value

Type Description
string User Principal Name