| UserSetUserAccountControlFlag Method |
Sets a flag in the user's User Account Control attribute.
Namespace:
Galactic.ActiveDirectory
Assembly:
Galactic.ActiveDirectory (in Galactic.ActiveDirectory.dll) Version: 1.3.0.499 (1.3.0.499)
Syntax public bool SetUserAccountControlFlag(
ActiveDirectoryUserAccountControl flag
)
Public Function SetUserAccountControlFlag (
flag As ActiveDirectoryUserAccountControl
) As Boolean
public:
bool SetUserAccountControlFlag(
ActiveDirectoryUserAccountControl flag
)
member SetUserAccountControlFlag :
flag : ActiveDirectoryUserAccountControl -> bool
Parameters
- flag
- Type: Galactic.ActiveDirectoryActiveDirectoryUserAccountControl
A flag from the predefined UserAccountControl flags.
Return Value
Type:
BooleanTrue if set, false otherwise.
See Also