How to create a custom SID?

I need to create custom SIDs for users in my web application for use with Microsoft AzMan. What is the best way to do this? What do I need to know before doing this?

This is what I think, but I'm not sure if I missed something:

S-1-9-1234- {user_id + 1000}

S- {first revision} - {authority of the resource manager} - {domain (unique number for a specific application)} - {unique user identifier}

UPDATE: Changed for resource management due to David Crawford's blog entry: http://blogs.msdn.com/dc995/archive/2006/08/23/715021.aspx

+3
source share
1 answer

MSDN Windows:

SID- . , S-1-9 - AppInstanceGUID-UserGuid, 9 - , AppInstanceGUID UserGUID . S-1-9 - AppInstanceGuid-UserRID, UserRID - . , SID , . , GUID, . Microsoft Windows Software Development Kit (SDK).

, , AzMan SID , . , , , SID, , . ( .)

+3

Source: https://habr.com/ru/post/1735633/


All Articles