DBWGetUserGroup

<< Click to Display Table of Contents >>

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

DBWGetUserGroup

Description

Retrieve the DBWorks authorization group of the current user (i.e. the DBWARM group the current user belongs to).

Syntax

Function DBWGetUserGroup()

Return values

The function assumes the @USER_GROUP variable value.

After calling this function check the Boolean value of the okDBW variable:

TRUE

if succeeded in fetching the value

FALSE

otherwise

Example

user_group = DBWGetUserGroup()