JAVA/CORBA CLASSES


Representing a name
Example

A Name object allows you to represent a user or server name so that you can access the parts of the name as properties. Use createName in Session to create a Name object and specify a name. If the name is in the form of a hierarchical name, it is treated as a hierarchical name; otherwise, it is treated as a flat name. Use getUserNameList to get a vector of Name objects representing the current user name and alternate user name; use getUserNameObject to get a Name object representing the current user name; use getUserGroupNameList to get a vector of Name objects representing the groups to which the current user belongs.

The following methods access the Name properties. These methods return an empty string for undefined properties.


Example
See Also