win32security.MapGenericMask

int = MapGenericMask(AccessMask, GenericMapping )

Translates generic access rights into specific rights

Parameters

AccessMask : int

A bitmask of generic rights to be interpreted according to GenericMapping

GenericMapping : (int,int,int,int)

A tuple of 4 bitmasks (GenericRead, GenericWrite, GenericExecute, GenericAll) containing the standard and specific rights that correspond to the generic rights.

Return Value

The input AccessMask will be returned with any generic access rights translated into specific equivalents