Location: Symbol Reference > Types > TJwOnGetEffectivePermissions Type
JWSCL Documentation
ContentsIndexHome
PreviousUpNext
TJwOnGetEffectivePermissions Type
Pascal
TJwOnGetEffectivePermissions = function (Sender: TJwSecurityDescriptorDialog; const GuidObjectType: TGUID; const sServerName: WideString; const SD: TJwSecurityDescriptor; var ObjectTypeList: TJwObjectTypeArray; var GrantedAccessList: TJwAccessMaskArray): Cardinal of object;
Parameters 
Description 
Sender 
Contains the dialog instance that called this callback message.  
GuidObjectType 
defines the GUID of the object. Cann be GUID_NULL.  
sServerName 
defines the name of the server.  
SD 
defines the security descriptor that is used to check against the permissions  
ObjectTypeList 
defines a list of objects types that are used for the check. It can be ignored to use default object type list.  
GrantedAccessList 
defines an array of granted access. It is automatically set to count of 1 if the call to GetEffectiveRightsFromAcl was sucessfull. However it can be changed. If the size of the array is zero the effective permissions are not display. Instead an error message is shown  

The return value defines the sucess of the operation. If it is set to any other value than S_OK the effective permissions are not shown in the ACL editor.

TJwOnGetEffectivePermissions is a callback function that is called if the user wants to get the effective permissions for a user on the effective permission tab of the ACL editor. 

 

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!