Click or drag to resize

IPageCreationRulesManagerPageCreationRules Method (Int32, IUser, Int32, Int32)


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

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

Parameters

totalCount
Type: SystemInt32
Outputs total count of entries
user
Type: Ingeniux.CMSIUser
The user that can use the page creation rules
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: IEnumerableIPageCreationRule
Collection of page creation rules that can be used by specified user.
Remarks

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

See Also