CMS_GetGroupMembership

Description

The function returns which groups the current Unit is a member of

For Business Unit support click here

Syntax

CMS_GetGroupMembership() As Boolean

 

Return value

Result will be stored in gaValue

 

Example

VBScript
If bStatus Then bStatus = CMS_GetGroupMembership()      
For index = LBound(gaValue) to UBound(gaValue)   
  xStatus = Job_WriteLog("Custom", "Index #" & index & ": '" & cStr(gaValue(index)) & "'", bStatus, True)   
Next

Scripting Guidelines

 

Related functions

Â