IsUserAdministrator method


Prototype

IsUserAdministrator Proto

Syntax

Invoke IsUserAdministrator

Function

Determines whether the current user is and administrator or not.

Parameters

None

Return value

Eax/Rax returns the administrator condition for the current user.


Possible returned values are:

TRUE    The current user is an administrator.
FALSE  The current user is not an administrator.


REMARKS
: You can call this method in your application in order to know whether it has administrator privileges or not.