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 Distinguished Name by Property Value.
Syntax
public static string FindDistinguishedNameByProperty(this ICakeContext context, string propertyName, string propertyValue, UserSettings settings)
Examples
var distinguishedName = FindDistinguishedNameByProperty("proxyAddresses", "[email protected]", new UserSettings {
LoginName = "domainAdmin",
Password = "adminPassword",
DomainName = "Cake.net" });
Attributes
| Type |
Description |
| CakeMethodAliasAttribute |
|
| CakeAliasCategoryAttribute |
|
| CakeNamespaceImportAttribute |
|
Parameters
| Name |
Type |
Description |
| context |
ICakeContext |
The context. |
| propertyName |
string |
The property name to search against. |
| propertyValue |
string |
The property value to search. |
| settings |
UserSettings |
The settings. |
Return Value
| Type |
Description |
| string |
Distinguished Name |