Get SID of current user

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

Get SID of current user

Postby geosjr » Wed Jan 29, 2014 3:10 am

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

Postby FrancescoT » Wed Jan 29, 2014 11:34 am

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


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 99 guests