DBWIsSuperAdmin

<< Click to Display Table of Contents >>

Navigation:  Programming Mechworks PDM > DBWCommandShell > Library Reference > DBWARM >

DBWIsSuperAdmin

Description

Returns the state of the current user.

Syntax

Function DBWIsSuperAdmin()

Return Values

1

if the current user is a DBWorks Super Admin with extended privileges

0

otherwise

Example

if DBWIsSuperAdmin() then
 msgbox "You're SuperAdm!"
else
 msgbox "You're a simple user"
end if