Get all groups a user belongs to, as ids

Namespace: SynergyServerScripting.Entities
Assembly: SynergyServerScripting (in SynergyServerScripting.dll)

Public Shared Function GetUserGroupMembershipIDs( _ 
ByVal user_id As EntityID, _ 
ByVal db As IDatabase
) As List(Of EntityID)
This language is not supported or no code example is available.
public static List<EntityID> GetUserGroupMembershipIDs( 
EntityID user_id
IDatabase db 
)
This language is not supported or no code example is available.
public:  
static List<EntityID^>^ GetUserGroupMembershipIDs( 
EntityID^ user_id
IDatabase^ db 
)
This language is not supported or no code example is available.
JScript does not support generic types and methods.
This language is not supported or no code example is available.

Parameters

user_id
Type: EntityID

the user id

db
Type: IDatabase

the db connection to use

Return Value

Type: List<EntityID>

the list of group info objects

.NET Framework

Supported in: 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1