GetUserPrivilege

Description

Tests whether the User has a specified user privilege. Returns True if the User has the specified user privilege; False if they do not have the specified user privilege.

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

Syntax

VBScript

user.GetUserPrivilege(priv)

Perl

$user->GetUserPrivilege(priv); 
Identifier
Description
user
A User object.
priv
A Long containing a UserPrivilegeMaskType constant.
Return value
Returns a Boolean True if the User has the specified user privilege; False if they do not have the specified User privilege.

Feedback