|
JWSCL Documentation
|
function GetEffectiveRights(const User: TTrusteeW): TJwAccessMask; overload;
|
Parameters |
Description |
|
const User: TTrusteeW |
defines a trustee that is used to get effective access rights |
GetEffectiveRights returns the rights which are granted to User
GetEffectiveRights computes the effective access rights of a user and the ACL. A better and more secure way to check access rights is to use AccessCheck with MAXIMUM_ALLOWED desired access rights.
Known bug in internal Windows call: This function does/may not work with inherited access control elements and also can fail on some combination with deny entries!
|
Exceptions |
Description |
|
will be raised if a call to GetEffectiveRightsFromAcl failed |
|
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!
|