Namespace Object
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 |
---|---|
Deletes the Namespace object. |
|
Updates the Namespace object. |
Property |
Description |
---|---|
Returns the Transformer Application object. |
|
Returns the CAMID of the namespace. |
|
Sets or returns the namespace ID. |
|
Returns the name of the namespace. |
|
Returns the CAMID of the object in the namespace set by the ObjectName property. |
|
Sets or returns the name of a namespace object. |
|
Returns the parent object. |
|
Returns a collection of SecurityObjects. |
|
Sets or returns a username associated with the namespace. |
|
Returns the CAMID of the user set by the User property. |
Examples
new_namespace = model.Namespaces.Add()