Get SID of current user

Got a problem you cannot solve? Try here.
Post Reply
geosjr
Posts: 1
Joined: Mon Dec 16, 2013 10:27 am

Get SID of current user

Post by geosjr »

I need to determine the Security Identifier (SID) of the current user. How can I solve this?

Thanks!
FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: Get SID of current user

Post by FrancescoT »

Dear User,

you need to develop a custom code for that, in a DLL or an EXE.
If I remember correctly this information can be retrieved using the "GetTokenInformation" WIN API (see Microsoft documentation for more details).

Then, call the DLL or the EXE from your setup script.

Regards
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
Post Reply