Location: Symbol Reference > Classes > TJwSecureGeneralObject Class > TJwSecureGeneralObject Methods > TJwSecureGeneralObject.ConvertMaximumAllowed Method
JWSCL Documentation
ContentsIndexHome
PreviousUpNext
TJwSecureGeneralObject.ConvertMaximumAllowed Method
Pascal
class function ConvertMaximumAllowed(const SecurityDescriptor: TJwSecurityDescriptor; const ClientToken: TJwSecurityToken; const GenericMapping: TJwSecurityGenericMappingClass): TAccessMask; override;
Parameters 
Description 
const SecurityDescriptor: TJwSecurityDescriptor 
defines a security descriptor which is not nil and has an owner and a group defined; otherwise the call fails. 
const ClientToken: TJwSecurityToken 
defines a token which is used to enforce the access rights 
const GenericMapping: TJwSecurityGenericMappingClass 
defines a mapping between generic rights and specific rights 

Returns an combination of access rights which are granted

ConvertMaximumAllowed converts the meta access right MAXIMUM_ALLOWED to basic access rights that can be granted to the given client token. The access rights are read from the given security descriptor. The mapping parameter defines a map between generic and specific access rights.

Exceptions 
Description 
This function does not raise exception. However the called function AccessCheck can raise an exception. 
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!