|
<< Click to Display Table of Contents >> Navigation: Programming Mechworks PDM > DBWCommandShell > Library Reference > DBWARM > DBWIsSuperAdmin |
Returns the state of the current user.
Function DBWIsSuperAdmin()
1 |
if the current user is a DBWorks Super Admin with extended privileges |
|---|---|
0 |
otherwise |
if DBWIsSuperAdmin() then
msgbox "You're SuperAdm!"
else
msgbox "You're a simple user"
end if