Skip to main content

[archive] Current user is Administrator?

  • June 13, 2006
  • 1 reply
  • 0 views

[Migrated content. Thread originally posted on 12 June 2006]

Hi,
In my application i need to know if the current user is a member of the Administrators group. .
Can someone please help me?

1 reply

[Migrated content. Thread originally posted on 12 June 2006]

Hi,
In my application i need to know if the current user is a member of the Administrators group. .
Can someone please help me?
You can use the Windows API function CheckTokenMembership for this. Search for it on msdn, and you will find documentation and C example.