Archive: How to determine the accout type without Userinfo ?


How to determine the accout type without Userinfo ?
Its me again :D


I need to determine the account type of the logged in user under XP and Vista. Getting the info on windows XP is easy but I need UAC therefore RequestExecutionLevel = User. Accordingly , Userinfo::Getaccounttype returns the value "User"

Is there a registry key that displays the account type, my seach turned up nothing ?

Thanks in advance

Protagonist


UserInfo::GetOriginalAccountType returns the same as UserInfo::GetAccountType ?


arrg. Sorry, I haven't found the userinfo.nsi file in the examples folder :(

Problem solved, thank you very much