There are multiple ways to implement custom authentication with AzMan but if you are using an approach with custom SIDs (security identifiers), you should be aware of the data type for a SID. Each sub authority is of type ULONG (32 bit) numeric which