![]() |
VideoXpert SDK
2.0
A software development kit for third party vendors to integrate with the VideoXpert platform
|
Represents a collection of permissions which can be assigned to a user. More...
#include <IVxRole.h>
Public Member Functions | |
virtual VxResult::Value | AddPrivilege (VxNewPrivilege &newPrivilege) const =0 |
Adds a new privilege to this role. More... | |
virtual VxResult::Value | Delete () const =0 |
Deletes this instance. More... | |
virtual VxResult::Value | DeleteRole () const =0 |
Deletes this role from the VideoXpert system. More... | |
virtual VxResult::Value | GetPrivileges (VxCollection< IVxPrivilege ** > &privilegeCollection) const =0 |
Gets the privileges assigned to this role. More... | |
virtual VxResult::Value | GetUsers (VxCollection< IVxUser ** > &userCollection) const =0 |
Gets the users which are currently assigned this role. More... | |
virtual VxResult::Value | Refresh ()=0 |
Refreshes the member values for this object by retrieving its current information from the VideoXpert system. More... | |
virtual VxResult::Value | SetName (char name[64])=0 |
Sets the name property. More... | |
Public Attributes | |
bool | isReadOnly |
Indicates whether this role is read-only. More... | |
char | id [64] |
The unique identifier of the role. More... | |
char | name [64] |
The friendly name of the role. More... | |
Protected Member Functions | |
void | Clear () |
Clears this instance. More... | |
Represents a collection of permissions which can be assigned to a user.
|
pure virtual |
Adds a new privilege to this role.
newPrivilege | The privilege to add. |
|
inlineprotected |
Clears this instance.
Definition at line 78 of file IVxRole.h.
|
pure virtual |
Deletes this instance.
|
pure virtual |
Deletes this role from the VideoXpert system.
|
pure virtual |
Gets the privileges assigned to this role.
privilegeCollection | The privileges assigned to this role. |
|
pure virtual |
Gets the users which are currently assigned this role.
Available filters: kFirstName, kLastName, kModifiedSince, kName.
userCollection | A VxCollection of users which are currently assigned this role. |
|
pure virtual |
Refreshes the member values for this object by retrieving its current information from the VideoXpert system.
|
pure virtual |
Sets the name property.
name | The new name value. |
char VxSdk::IVxRole::id[64] |
bool VxSdk::IVxRole::isReadOnly |
char VxSdk::IVxRole::name[64] |