Views:

Description

Returns true if a user has a certain privilege.

Signature

DoesUserHavePrivilege('userid', 'privilegename')

Example

DoesUserHavePrivilege(WhoAmI(), 'prvCreateaccount') returns true

Parameters

Name Type Description Required
userid xxxx xxxx xxxx
privilegename xxxx xxxx xxxx