|
<< Click to Display Table of Contents >> Navigation: Programming Mechworks PDM > DBWCommandShell > Commands Reference > DBWArm > GetUserLocalGroup |
Returns the current user permission profile
call DBWShell("GetUserLocalGroup")
@USER_LOCAL_GROUP |
group to which the current user belongs to. The variable can assume these values: •Power User: it is a full permissions user
•Simple User: it is a restricted permissions user
•View-Only User: it is a user with view-only permissions
|
This function must be used only together with the DBWARM system.
It is preferable to use the DBWGetUserLocalGroup library function instead of a direct call to the shell.
DBWShell( "GetUserLocalGroup" )
if ( okDBW = False ) then exit function
UserLocalGroup = DBWInput( "@USER_LOCAL_GROUP" )