Click or drag to resize

IPageCreationRulesManagerPageCreationRules(Int32, IUserGroup, Int32, Int32) Method


Retrieves the collection of Page Creation Rules that can be used by the the specified Group.

Namespace: Ingeniux.CMS
Assembly: Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 10.6.492
Syntax
IEnumerable<IPageCreationRule> PageCreationRules(
	out int totalCount,
	IUserGroup userGroup,
	int pageSize = -1,
	int startIndex = -1
)

Parameters

totalCount  Int32
Outputs total count of entries
userGroup  IUserGroup
The group that is allowed by the page creation rules
pageSize  Int32  (Optional)
Number of entries to return. If not provided, returns all entries.
startIndex  Int32  (Optional)
Starting index of entries. If not provided, starts from the first entry.

Return Value

IEnumerableIPageCreationRule
Collection of page creation rules that allow the specified Group
Remarks

If the userGroup parameter is null, returns all page creation rules

See Also