SetUserPrivilege

Description

Set a User privilege to True if authorizing the User privilege to the user's account; False if not allowing the User privilege.

Syntax

VBScript


user.SetUserPrivilege priv, bValue

Perl


$user->SetUserPrivilege(priv, bValue); 
Identifier
Description
user
A User object.
priv
A Long containing a UserPrivilegeMaskType constant.
bValue
A Boolean set to True if the User has the specified user privilege; False if they do not have the specified User privilege.
Return value
None on success, or else an exception.