Help Center›AfxNova
AfxIsUserAnAdminfunction
Not documented upstream. This symbol was found in the AfxNova source but appears in no documentation topic. The signature below is read directly from the code; any description comes from the source comments.
Syntax
PRIVATE FUNCTION AfxIsUserAnAdmin () AS BOOLEAN
Return value
TRUE - Caller has Administrators local group. FALSE - Caller does not have Administrators local group. Note: Replacement for the Windows API function IsUserAnAdmin because Microsoft warns about the use of this function and advices to call CheckTokenMembership directly.
Reference
- Include file
AfxWin.inc - Defined in AfxNova/AfxWin.inc:4757