Click or drag to resize

ISiteAssetsAssignedToGroup Method


Retrieves a collection of Assets assigned to a specific Group, in a paginated fashion.

Namespace:  Ingeniux.CMS
Assembly:  Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 10.5.94
Syntax
IEnumerable<IAsset> AssetsAssignedToGroup(
	IUserGroup group,
	out int count,
	int pageSize = -1,
	int startIndex = -1
)

Parameters

group
Type: Ingeniux.CMSIUserGroup
The Group that Pages are assigned to
count
Type: SystemInt32
Outputs 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: IEnumerableIAsset
Collection of Assets assigned to the specified Group
Remarks

When the "group" parameter value is null, returns empty collection, with "count" parameter output 0.

See Also