Location: Symbol Reference > Functions > JwIsPrivilegeSet Function
JWSCL Documentation
ContentsIndexHome
PreviousUpNext
JwIsPrivilegeSet Function
Pascal
function JwIsPrivilegeSet(const Index: TJwString; const Query: TJwPrivilegeQueryType = pqt_Available): boolean;
Parameters 
Description 
const Index: TJwString 
gets the privilege name  
const Query: TJwPrivilegeQueryType = pqt_Available 
defines whether the given privilege should be checked for availability or is enable  

Returns true if the privilege is available and enabled. If the privilege is not available or disabled the result is false.

JwIsPrivilegeSet checks whether a given privilege is available or enabled in the current process or thread.

Copyright (c) 2010. All rights reserved.
This help was created by Doc-O-Matic sponsored by toolsfactory software inc.
What do you think about this topic? Send feedback!