I need to determine the Security Identifier (SID) of the current user. How can I solve this?
Thanks!
Get SID of current user
-
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: Get SID of current user
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
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
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
Who is online
Users browsing this forum: No registered users and 99 guests