Re: Current user's security identifier
From: Frank (JazzedApps_at_online.nospam)
Date: 07/26/05
- Next message: Larry: "Re: SE_ASSIGNPRIMARYTOKEN_NAME"
- Previous message: Roy Chastain: "Re: ISC_RET_xxx and ASC_RET_xxx bits"
- In reply to: Joe Richards [MVP]: "Re: Current user's security identifier"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Tue, 26 Jul 2005 08:26:32 -0500
Joe Richards [MVP] wrote:
> Look at GetTokenInformation, specifically you will want TokenUser.
>
> --
> Joe Richards Microsoft MVP Windows Server Directory Services
> www.joeware.net
>
>
> Frank wrote:
>
>> How can I find the current user's security identifier (using C++)? Is
>> this in the registry somewhere?
>>
>> I am looking for a string similar to "S-1-5-21-####...".
>>
>> Thanks,
>>
>> Frank
Thank you. That is what I needed.
Frank
- Next message: Larry: "Re: SE_ASSIGNPRIMARYTOKEN_NAME"
- Previous message: Roy Chastain: "Re: ISC_RET_xxx and ASC_RET_xxx bits"
- In reply to: Joe Richards [MVP]: "Re: Current user's security identifier"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|