com.pcbsys.nirvana.client.nSubject Class Reference

This class contains information about the user identification used by Nirvana More...

Inheritance diagram for com.pcbsys.nirvana.client.nSubject:
com.pcbsys.nirvana.nAdminAPI.nSecurityGroup

Public Member Functions

int CompareTo (object obj)
 Compares this subject instance with specified subject instance More...
 
bool Equals (nSubject obj)
 Determines whether this instance and another specified nSubject object have same internal values More...
 
string getHost ()
 The host name for this subject. More...
 
String getName ()
 The Name being used by this subject More...
 
fSubject getSubject ()
 
string getUser ()
 The username being used by this subject More...
 
 nSubject (fSubject sub)
 Create a new nSubject using another subject instance More...
 
 nSubject (fAclGroup grp)
 Create a new nSubject using an AclGroup instance More...
 
 nSubject (string sub)
 Create a new nSubject using a key of user More...
 
override string ToString ()
 Converts this object into a string More...
 

Detailed Description

This class contains information about the user identification used by Nirvana

Constructor & Destructor Documentation

com.pcbsys.nirvana.client.nSubject.nSubject ( fSubject  sub)

Create a new nSubject using another subject instance

Parameters
subsubject instance
com.pcbsys.nirvana.client.nSubject.nSubject ( fAclGroup  grp)

Create a new nSubject using an AclGroup instance

Parameters
grpacl group instance
com.pcbsys.nirvana.client.nSubject.nSubject ( string  sub)

Create a new nSubject using a key of user

Parameters
subuser string

Member Function Documentation

int com.pcbsys.nirvana.client.nSubject.CompareTo ( object  obj)

Compares this subject instance with specified subject instance

Parameters
objsubject instance
Returns
A integer that indicates whether this instance precedes, follows, or appears in the same position in the sort order as the value parameter. Value Condition Less than zero - This instance precedes obj. Zero This instance has the same position in the sort order as obj. Greater than zero This instance follows obj.-or- obj is null.
bool com.pcbsys.nirvana.client.nSubject.Equals ( nSubject  obj)

Determines whether this instance and another specified nSubject object have same internal values

Parameters
objAn nSubject instance
Returns
true if the value of the value parameter is the same as this instance; otherwise, false
string com.pcbsys.nirvana.client.nSubject.getHost ( )

The host name for this subject.

This can mean the host of the local machine

Returns
String hostname
String com.pcbsys.nirvana.client.nSubject.getName ( )

The Name being used by this subject

Returns
String name
fSubject com.pcbsys.nirvana.client.nSubject.getSubject ( )

Returns
Returns the subject instance
string com.pcbsys.nirvana.client.nSubject.getUser ( )

The username being used by this subject

Returns
String username
override string com.pcbsys.nirvana.client.nSubject.ToString ( )

Converts this object into a string

Returns
String representation of this subject