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
Disables the user account.
- Assembly
- Cake
.ActiveDirectory .dll - Namespace
- Cake
.ActiveDirectory .Users - Containing Type
- UserDisable
Syntax
public void DisableUser(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 |
---|---|
void |