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.

Remarque : For Perl, this method became available in version 2002.05.00. For VBScript, this method became available in version 7.0.1.

Syntaxe

VBScript

user.SetUserPrivilege priv, bValue

Perl

$user->SetUserPrivilege(priv, bValue); 
Identificateur
Description
utilisateur
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.

Commentaires en retour