SecurityObjects Collection

The SecurityObjects collection contains all SecurityObject objects in a model.

Discussion

Use this collection to select or remove a SecurityObject object.

Use the SecurityObjects property of a CustomView or a Namespace object to retrieve this collection.

Use the Add method to add a new SecurityObject object to the collection. Use the Remove method to remove a SecurityObject object.

These tables list related methods and properties.

Method

Description

Add Method ()

Adds a Report object to the collection.

Item Method

Selects a specific Report object in the collection.

Remove Method

Removes a specific Report object from the collection.

Property

Description

Application Property

Returns the Transformer Application object.

Count Property

Returns the number of Report objects in the collection.

Parent Property

Returns the parent object.

Examples

new_namespace = model.Namespaces.Add()
securityObject = new_namespace.SecurityObjects.Add()