Get all groups each user belongs to in the list of users

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

Public Shared Function GetUserGroupMembershipForUsers( _ 
ByVal user_ids As HashSet(Of EntityID), _ 
ByVal db As IDatabase, _ 
ByVal check_cache As Boolean
) As List(Of Tuple(Of EntityID, List(Of GroupInfo)))
This language is not supported or no code example is available.
public static List<Tuple<EntityID, List<GroupInfo>>> GetUserGroupMembershipForUsers( 
HashSet<EntityID> user_ids
IDatabase db
bool check_cache 
)
This language is not supported or no code example is available.
public:  
static List<Tuple<EntityID^, List<GroupInfo^>^>^>^ GetUserGroupMembershipForUsers( 
HashSet<EntityID^>^ user_ids
IDatabase^ db
bool check_cache 
)
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_ids
Type: HashSet<EntityID>

db
Type: IDatabase

the db connection to use

check_cache
Type: bool

Return Value

Type: List<Tuple<EntityID, List<GroupInfo>>>

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