SecurityLimits Collection

Crystal Enterprise InfoStore Library
See Also  

Use this collection to set limits on an object for a particular principal (user, group). These limits allow report instances to be deleted on a regular basis. Limits that you set on a folder affect all objects that are contained within the folder. At the folder level, you may want to limit the number of instances that remain on the system for each object or for each user or group; you could also limit the number of days that an instance remains on the system for a user or group.

In addition to setting limits on folders, you can set limits on selected report objects and their instances. When you set the limits at the report object level, the report object will ignore the limits set for the folder (that is, the report object will not inherit the limits of the folder).

Note:    When you set limits to a principal who has rights on the object, either explicit or inherited, the rights stay exactly as they were. If the principal has no rights on the object, neither inherited or explicit, then when you set limits, the role will become Advanced with no rights.

Properties
Property Description

Count Property

The number of items in the collection. Read-Only.

Item Property

Returns an object given an index. Read-Only.

Methods
Method Description

Add Method

Adds a new limit to the collection.

Delete Method

Removes a limit from the collection.



Crystal Decisions, Inc.
http://www.crystaldecisions.com
Support services:
http://support.crystaldecisions.com