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 attribute value by Property Value.
Syntax
public static string FindAttributeValueByProperty(this ICakeContext context, string propertyName, string propertyValue, string attributeName, UserSettings settings)
Examples
var distinguishedName = FindDistinguishedNameByProperty("proxyAddresses", "[email protected]", "distinguishedName", 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. |
attributeName |
string |
The attribute name of the value to get. |
settings |
UserSettings |
The settings. |
Return Value
Type |
Description |
string |
Attribute value. |