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.

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.