JCL Help:IsAdministrator

From Project JEDI Wiki
Jump to navigationJump to search


Summary

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


Pascal

 function IsAdministrator: Boolean;


Return Value

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


Description

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

Unit

JclSecurity


Donator

Marcel van Brakel


Notes

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


Contribute to this help topic

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