=Everything_IsAdmin=
The '''Everything_IsAdmin''' function checks if Everything is running as administrator or as a standard user.

==Syntax==
<pre>
BOOL Everything_IsAdmin(void);
</pre>

==Parameters==
<dl>
No parameters.
</dl>

==Return Value==
The function returns non-zero if the Everything is running as an administrator.
The function returns 0 Everything is running as a standard user or if an error occurred. To get extended error information, call [[support/everything/SDK/Everything_GetLastError|Everything_GetLastError]]

{|
! Error code
! Meaning
|-
| EVERYTHING_OK
| Everything is running as a standard user.
|-
| EVERYTHING_ERROR_IPC
| Please make sure the Everything search client is running in the background.
|}

==Remarks==

==Example==
<pre>
BOOL isAdmin;

isAdmin = Everything_IsAdmin();
</pre>

==Function Information==
Requires Everything 1.4.1 or later.

==See Also==
<ul>
*[[support/everything/SDK/Everything_IsAppData|Everything_IsAppData]]
</ul>
