Guests comes after users
http://forums.winamp.com/showthread.php?s=&threadid=112655 git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2528 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
9c081b1bfe
commit
ce6f98cdcd
2 changed files with 2 additions and 1 deletions
|
@ -72,8 +72,9 @@ void __declspec(dllexport) GetAccountType(HWND hwndParent, int string_size,
|
||||||
DWORD auth_id;
|
DWORD auth_id;
|
||||||
char *name;
|
char *name;
|
||||||
} groups[] = {
|
} groups[] = {
|
||||||
{DOMAIN_ALIAS_RID_GUESTS, "Guest"},
|
|
||||||
{DOMAIN_ALIAS_RID_USERS, "User"},
|
{DOMAIN_ALIAS_RID_USERS, "User"},
|
||||||
|
// every user belongs to the users group, hence users comes before guests
|
||||||
|
{DOMAIN_ALIAS_RID_GUESTS, "Guest"},
|
||||||
{DOMAIN_ALIAS_RID_POWER_USERS, "Power"},
|
{DOMAIN_ALIAS_RID_POWER_USERS, "Power"},
|
||||||
{DOMAIN_ALIAS_RID_ADMINS, "Admin"}
|
{DOMAIN_ALIAS_RID_ADMINS, "Admin"}
|
||||||
};
|
};
|
||||||
|
|
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue