
DM API METHODS AND PROPERTIES 203
GetPrimaryGroup
GetPrimaryGroup
Use this method to get the DM GROUP_ID that identifies the user’s
primary group. You must make a call to PCDLogin.Execute before you
can get the primary group.
Syntax
PCDLogin.GetPrimaryGroup()
Returns
Returns a string that contains the primary group ID.
Usage
A user can be a member of many groups in a DM library; however, a
user’s primary group determines which library maintenance system
parameter settings apply to that user.
Example
The section titled Providing Library Access in Chapter 1 illustrates how
to use this method.
Related Items
See PCDLogin object.
See the following methods:
AddLogin
GetAliasList
GetDOCSUserName
GetFailedLoginList
GetLoginLibrary
See the following properties:
ErrDescription
ErrNumber
Comentarios a estos manuales