This content is part of a third party extension that is not supported by the Cake project.
For more information about this extension see Cake.ActiveDirectory.
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 |