* This class represents a "Security Group" that contains entries for nSubject objects, and other nSecurityGroup objects.
More...
* This class represents a "Security Group" that contains entries for nSubject objects, and other nSecurityGroup objects.
- The class can be used in conjunction with the nACLEntry (and any subclass of this object) in order to add
- nSecurityGroup objects into nACL objects for Nirvana Realm ACLs, Channel / Queue ACLs or Interface Via Lists.
com.pcbsys.nirvana.nAdminAPI.nSecurityGroup.nSecurityGroup |
( |
string |
name | ) |
|
* Construct the nSecurityGroup with it's name
- Parameters
-
name | the name of the group |
com.pcbsys.nirvana.nAdminAPI.nSecurityGroup.nSecurityGroup |
( |
string |
name, |
|
|
nSubject[] |
members |
|
) |
| |
* Construct the nSecurityGroup with a name and members
- Parameters
-
name | the name of the security group |
- Parameters
-
members | the initial members of the group |
com.pcbsys.nirvana.nAdminAPI.nSecurityGroup.nSecurityGroup |
( |
fAclGroup |
group | ) |
|
Constructor for nSecurity Group taking an fACLGroup representation of a group
- Parameters
-
group | the fACLGroup to generate this SecurityGroup from |
virtual void com.pcbsys.nirvana.nAdminAPI.nSecurityGroup.add |
( |
nSubject |
member | ) |
|
|
virtual |
* Add a member to the group
virtual bool com.pcbsys.nirvana.nAdminAPI.nSecurityGroup.contains |
( |
nSubject |
member | ) |
|
|
virtual |
* Checks whether this nSecurityGroup contains a specific nSubject
- Parameters
-
member | the member to check within this group and sub groups |
- Returns
- true if the member exists, else false
virtual bool com.pcbsys.nirvana.nAdminAPI.nSecurityGroup.contains |
( |
string |
member | ) |
|
|
virtual |
* Checks whether this nSecurityGroup contains a specific member (could be another nSecurityGroup or an nSubject
- Parameters
-
member | the member to check within this group and sub groups |
- Returns
- true if the member exists, else false
virtual Collection<nSubject> com.pcbsys.nirvana.nAdminAPI.nSecurityGroup.getMembers |
( |
| ) |
|
|
virtual |
Returns the members of this security group as a collection of nSubjects.
- Returns
- a collection of nSubject objects, representing the members of this security group.
virtual fAclGroup com.pcbsys.nirvana.nAdminAPI.nSecurityGroup.getSubject |
( |
| ) |
|
|
virtual |
Returns the fACLGroup representation of the Security Group.
- Returns
- the fACLGroup which is used to represent this SecurityGroup.
virtual nSubject com.pcbsys.nirvana.nAdminAPI.nSecurityGroup.lookup |
( |
nSubject |
member | ) |
|
|
virtual |
* Locate the nSubject within this nSecurityGroup or it's member nSecurityGroup objects
- Parameters
-
member | the member being searched for |
- Returns
- the nSubject or nSecurityGroup that represents the nSubject passed in