JCL Help:IsAdministrator

From Project JEDI Wiki
Jump to navigationJump to search


Summary[edit]

Tests whether the process is running in the user context of a local administrator.


Pascal[edit]

 function IsAdministrator: Boolean;


Return Value[edit]

If the process is running in the user context of a local administrator the function returns True, otherwise it returns False.


Description[edit]

The IsAdministrator function tests if the calling process is running in the context of a user with local administrative rights. That is, if the user is an administrator.


About[edit]

Unit[edit]

JclSecurity


Donator[edit]

Marcel van Brakel


Notes[edit]

Under Windows 95/98/Millenium Edition, this function always returns True.


Contribute to this help topic[edit]

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page