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
Updates a user account given the specified properties.
Syntax
public static void UpdateUser(this ICakeContext context, string attributeName, string attributeValue, UserSettings settings)
Examples
UpdateUser("employeeId", "1234", new UserSettings {
LoginName = "domainAdmin",
Password = "adminPassword",
DomainName = "Cake.net",
Email = "[email protected]" });
Attributes
Type |
Description |
CakeMethodAliasAttribute |
|
CakeAliasCategoryAttribute |
|
CakeNamespaceImportAttribute |
|
Parameters
Name |
Type |
Description |
context |
ICakeContext |
The context. |
attributeName |
string |
The name of the attribute to search by. |
attributeValue |
string |
The value of the attribute to search using. |
settings |
UserSettings |
The user attribute settings. |
Return Value