Click or drag to resize

Person.GetGroupMembership Method

Returns group ID (tRole.iRoleId) of all groups that the person is member of.

Namespace:  Alvao.API.Common
Assembly:  ALVAO.API (in ALVAO.API.dll) Version: 11.0.1027.0
Syntax
C#
public static IEnumerable<int> GetGroupMembership(
	int personId,
	bool onlyDirectMembership
)

Parameters

personId
Type: System.Int32
Person ID (tPerson.iPersonId)
onlyDirectMembership
Type: System.Boolean
Get only direct membership

Return Value

Type: IEnumerable<Int32>
List of groups ID
See Also