IUserGroups Method Ingeniux CMS Content Store API

Retrieves in a paginated fashion the Groups this user belongs to.

Namespace: Ingeniux.CMS
Assembly: Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 9.0.565.0 (9.0.565)
Syntax

IEnumerable<IUserGroup> Groups(
	out int count,
	int pageSize = -1,
	int startIndex = -1
)

Parameters

count
Type: SystemInt32
Total count of entries
pageSize (Optional)
Type: SystemInt32
Number of entries to return. If not provided, returns all entries.
startIndex (Optional)
Type: SystemInt32
Starting index of entries. If not provided, starts from the first entry.

Return Value

Type: IEnumerableIUserGroup
Collection of groups this user belongs to. Empty collection if the user belongs to no existing groups.
See Also

Reference