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
Deletes user in the specified active directory.
Syntax
public static void DeleteUser(this ICakeContext context, string userPrincipalName, UserSettings settings)
Examples
DeleteUser("[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. |
userPrincipalName |
string |
The user principal name. |
settings |
UserSettings |
The settings. |
Return Value