GetUserGroup

<< Click to Display Table of Contents >>

Navigation:  Programming Mechworks PDM > DBWCommandShell > Commands Reference > DBWArm >

GetUserGroup

Description

Returns the group of the current user

Syntax

call DBWShell("GetUserGroup")

Results

@USER_GROUP

group to which the current user belongs to

Remarks

This function must be used only together with the DBWARM system.

It is preferable to use the DBWGetUserGroup library function instead of a direct call to the shell.

See also

DBWARM specific commands
DBWGetUserGroup Standard Library

Example

DBWShell( "GetUserGroup" )

if ( okDBW = False ) then exit function
UserGroup = DBWInput( "@USER_GROUP" )