VOS::Group Class Reference
[libvos]
#include <vos/vos/identity.hh>
Inheritance diagram for VOS::Group:

Detailed Description
A Group of Identity objects.This allows you to set access control policies that apply to a group of Identities rather than having to specify each Identity individually. In general, Groups can be used to add capabilities, but not take them away, so you should design your permissions to start with restrictive defaults and then add permissions selectively via group membership.
Definition at line 62 of file identity.hh.
Public Member Functions
- virtual const std::string getVOSType ()
- virtual void addIdentity (Identity *id)
Static Public Member Functions
- static MetaObject * new_Group (VobjectBase *vb, const std::string &type)
Member Function Documentation
| virtual void VOS::Group::addIdentity | ( | Identity * | id | ) | [virtual] |
Convenience function to add an identity to this group.
This method is equivilent to
insertChild(-1, "core:member", id);
- Parameters:
-
id the identity to add to this group
| virtual const std::string VOS::Group::getVOSType | ( | ) | [virtual] |
| static MetaObject* VOS::Group::new_Group | ( | VobjectBase * | vb, | |
| const std::string & | type | |||
| ) | [static] |
Constructor used for metaobject factory.
Never call this directly.
The documentation for this class was generated from the following file:
- /home/tetron/hack/vos/libs/vos/vos/identity.hh