Add Method

Applies To   See Also   Example  

Adds a new limit to the collection.

Syntax
Function Add(
    ID As Long
    [Value As Long]) As SecurityLimit
Parameters

ID

The limit's ID. See CeSystemLimits for a list of Crystal Enterprise security limits and their IDs.

Value

The limit's initial value.

Remarks

Use this function to set a specific limit on an object for a particular principal. The Crystal Enterprise system defines a set of limits that apply to the objects in the system. These limits can be retrieved with the KnownLimits Property, and then individually added to the principal's SecurityLimits collection.

Through inheritance, a limit may have more than one value. Use the UseMaximumValue Property to determine whether the limit's maximum or minimum value will be applied.



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