Location: Symbol Reference > Classes > TJwSecurityGenericMapping Class > TJwSecurityGenericMapping Methods > TJwSecurityGenericMapping.Map Method
JWSCL Documentation
ContentsIndexHome
PreviousUpNext
TJwSecurityGenericMapping.Map Method
Pascal
class function Map(genericAccessMask: TJwAccessMask): TJwAccessMask;
Parameters 
Description 
genericAccessMask: TJwAccessMask 
receives one of the generic access constants (GENERIC_READ, GENERIC_WRITE, GENERIC_EXECUTE, GENERIC_ALL).  

Returns the mapped access rights.

Map maps one of the generic access mask (GENERIC_READ, GENERIC_WRITE, GENERIC_EXECUTE, GENERIC_ALL) to the specific access mask. The specific access mask depends on GetMapping. GetMapping can be overriden in derived classes to change the behaviour. In TJwSecurityGenericMapping the result is always 0.

Exceptions 
Description 
is raised, if genericAccessMask does not contain one of the GENERIC access masks. 
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!