Skip to content

Latest commit

 

History

History
33 lines (21 loc) · 614 Bytes

IsUserAnAdmin.md

File metadata and controls

33 lines (21 loc) · 614 Bytes

Home

Function name : IsUserAnAdmin

Group: Shell Functions - Library: shell32


Tests whether the current user is a member of the Administrator"s group.


Code examples:

Retrieving current user for the process

Declaration:

BOOL IsUserAnAdmin(VOID);  

FoxPro declaration:

DECLARE INTEGER IsUserAnAdmin IN shell32  

Return value:

Returns TRUE if the user is a member of the Administrator"s group, FALSE if not.