Skip to content

dos_adminp

Dale Fugier edited this page Jul 1, 2026 · 1 revision

Determines whether the current user has administrator rights. This is done by confirming membership in the local Administrators group.

Syntax

(dos_adminp)

Returns

T if the current user is member of the local Administrators group.

nil if not a member of the local Administrators group, or on error.

Example

Command: (dos_adminp)
T

Clone this wiki locally