Click or drag to resize
Galactic API

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
)

Parameters

flag
Type: Galactic.ActiveDirectoryActiveDirectoryUserAccountControl
A flag from the predefined UserAccountControl flags.

Return Value

Type: Boolean
True if set, false otherwise.
See Also