Namespace Object

The Namespace object represents a namespace in the Transformer model.

Discussion

A Namespace collection is returned by the Namespaces property in a Model object.

Each Namespace object in a collection references a namespace in the Transformer model.

Namespaces are used to create SecurityObjects. SecurityObjects are added to CustomViews to provide user and group-level security in a Transformer PowerCube.

Before a Namespace object can be used, you must log on to the applicable namespace using the Application object's Logon method. The user must provide a namespace, username, and password.

To use a Namespace object either the Name property needs to be set to the namespace or the ID property needs to be set to the namespace ID. If security is being applied to a user, the User property must also be set to the username of the user. If security is being applied to another object, such as a group or role, the ObjectName property must be set to the object name. After setting these properties appropriately, other properties can be used to retrieve security information.

Related Topics

These tables list related collections, methods, and properties.

Method

Description

Delete Method

Deletes the Namespace object.

Update Method

Updates the Namespace object.

Property

Description

Application Property

Returns the Transformer Application object.

CAMID Property

Returns the CAMID of the namespace.

ID Property

Sets or returns the namespace ID.

Name Property

Returns the name of the namespace.

ObjectCAMID Property

Returns the CAMID of the object in the namespace set by the ObjectName property.

ObjectName Property

Sets or returns the name of a namespace object.

Parent Property

Returns the parent object.

SecurityObjects Property

Returns a collection of SecurityObjects.

User Property

Sets or returns a username associated with the namespace.

UserCAMID Property

Returns the CAMID of the user set by the User property.

Examples

new_namespace = model.Namespaces.Add()