SDEC RESGPUSR (3519)    REMOTE PROCEDURE (8994)

Name Value
NAME SDEC RESGPUSR
TAG RESGPUSR
ROUTINE SDEC
RETURN VALUE TYPE GLOBAL ARRAY
AVAILABILITY RESTRICTED
INACTIVE ACTIVE
WORD WRAP ON FALSE
DESCRIPTION
Returns ADO Recordset with all ACTIVE GROUP/RESOURCE combinations
to which user has access based on entries in SDEC RESOURCE USER file
If SDECDUZ=0 then returns all ACTIVE GROUP/RESOURCE combinations for 
current DUZ
If user SDECDUZ possesses the key SDECZMGR
then ALL ACTIVE resource group names are returned
INPUT PARAMETER
  • SDECDUZ
    PARAMETER TYPE:   LITERAL
    REQUIRED:   YES
    SEQUENCE NUMBER:   1
    DESCRIPTION:   
    User ID pointer to NEW PERSON file 200
    
RETURN PARAMETER DESCRIPTION
Returns a Global Array in which each array entry contains active 
Group/Resource combinations separated by ^:
  1. RESOURCE_GROUPID
  2. RESOURCE_GROUP
  3. RESOURCE_GROUP_ITEMID
  4. RESOURCE_NAME
  5. RESOURCEID