| Local Methods | ||
Service Types | Data Object Types | All Properties | All Methods |
Methods
Methods defined in this Service |
---|
Permission_Create, Permission_CreatePermissions, Permission_Delete, Permission_DeletePermissions, Permission_Get, Permission_GetInfos, Permission_List |
Privileges
Privilege | Description |
---|---|
GLOBAL_PERMISSION_MANAGEMENT | Permission management privilege is required to create a permission. |
Parameters
Name | Type | Description |
---|---|---|
_this | ManagedObjectReference | A reference to the Permission used to make the method call. |
base | PermissionBase |
attributes needed to add a permission
|
Return Value
Type | Description |
---|---|
PermissionId | unique identifier |
Faults
Type | Description |
---|---|
EntityNotFound | Thrown if any specified entity cannot be found. |
InsufficientPermission | Thrown if the user does not have sufficient permission to perform the operation. |
InvalidArgument | Thrown if any specified argument is invalid. |
InvalidType | Thrown if the type of any specified argument is invalid. |
UnexpectedFault | Thrown if an unexpected error occurs while performing the operation. |
Events
Event | Description |
---|---|
ADMIN_PERMISSION_ADDED | Sent when a permission is successfully created. |
ADMIN_PERMISSION_ADD_FAILED | Sent when a permission fails to be created. |
Privileges
Privilege | Description |
---|---|
GLOBAL_PERMISSION_MANAGEMENT | Permission management privilege is required to create any permissions. |
Parameters
Name | Type | Description |
---|---|---|
_this | ManagedObjectReference | A reference to the Permission used to make the method call. |
bases | PermissionBase[] |
PermissionBases of entities to create.
|
Return Value
Type | Description |
---|---|
PermissionId[] | The created permission ids |
Faults
Type | Description |
---|---|
EntityNotFound | Thrown if any specified entity cannot be found. |
InsufficientPermission | Thrown if the user does not have sufficient permission to perform the operation. |
InvalidArgument | Thrown if any specified argument is invalid. |
InvalidType | Thrown if the type of any specified argument is invalid. |
PartialFailureFault | Thrown if all operations were not successful, a PartialFailureFault will be thrown indicating which permissions were successfully created and which ones failed. The index of results in the PartialFailureFault correspond to the index of the original permission. The result entry will contain either the original return type (on success) or an exception (on failure). |
UnexpectedFault | Thrown if an unexpected error occurs while performing the operation. |
Events
Event | Description |
---|---|
ADMIN_PERMISSION_ADDED | Sent for each permission that is successfully created. |
ADMIN_PERMISSION_ADD_FAILED | Sent for each permission that fails to be created. |
Privileges
Privilege | Description |
---|---|
GLOBAL_PERMISSION_MANAGEMENT | Permission management privilege is required to delete any permissions. |
Parameters
Name | Type | Description |
---|---|---|
_this | ManagedObjectReference | A reference to the Permission used to make the method call. |
id | PermissionId |
PermissionId of entity to delete.
|
Return Value
Type | Description |
---|---|
None |
Faults
Type | Description |
---|---|
EntityNotFound | Thrown if any specified entity cannot be found. |
InsufficientPermission | Thrown if the user does not have sufficient permission to perform the operation. |
InvalidArgument | Thrown if any specified argument is invalid. |
InvalidType | Thrown if the type of any specified argument is invalid. |
UnexpectedFault | Thrown if an unexpected error occurs while performing the operation. |
Events
Event | Description |
---|---|
ADMIN_PERMISSION_REMOVED | Sent when a permission is successfully deleted. |
ADMIN_PERMISSION_REMOVE_FAILED | Sent when a permission fails to be deleted. |
Privileges
Privilege | Description |
---|---|
GLOBAL_PERMISSION_MANAGEMENT | Permission management privilege is required to delete any permissions. |
Parameters
Name | Type | Description |
---|---|---|
_this | ManagedObjectReference | A reference to the Permission used to make the method call. |
ids | PermissionId[] |
PermissionIds of entities to delete.
|
Return Value
Type | Description |
---|---|
None |
Faults
Type | Description |
---|---|
EntityNotFound | Thrown if any specified entity cannot be found. |
InsufficientPermission | Thrown if the user does not have sufficient permission to perform the operation. |
InvalidArgument | Thrown if any specified argument is invalid. |
InvalidType | Thrown if the type of any specified argument is invalid. |
PartialFailureFault | Thrown if all operations were not successful, a PartialFailureFault will be thrown indicating which permissions were successfully deleted and which ones failed. The index of results in the PartialFailureFault correspond to the index of the original permission. The result entry will contain either the original return type (on success) or an exception (on failure). |
UnexpectedFault | Thrown if an unexpected error occurs while performing the operation. |
Events
Event | Description |
---|---|
ADMIN_PERMISSION_REMOVED | Sent for each permission that is successfully deleted. |
ADMIN_PERMISSION_REMOVE_FAILED | Sent for each permission that fails to be deleted. |
Privileges
Privilege | Description |
---|---|
GLOBAL_PERMISSION_VIEW | Permission read access privilege is required to read any permissions. |
Parameters
Name | Type | Description |
---|---|---|
_this | ManagedObjectReference | A reference to the Permission used to make the method call. |
id | PermissionId |
PermissionId of entity to get.
|
Return Value
Type | Description |
---|---|
PermissionInfo | requested permission entity. |
Faults
Type | Description |
---|---|
EntityNotFound | Thrown if any specified entity cannot be found. |
InsufficientPermission | Thrown if the user does not have sufficient permission to perform the operation. |
InvalidArgument | Thrown if any specified argument is invalid. |
InvalidType | Thrown if the type of any specified argument is invalid. |
UnexpectedFault | Thrown if an unexpected error occurs while performing the operation. |
Privileges
Privilege | Description |
---|---|
GLOBAL_PERMISSION_VIEW | Permission read access privilege is required to read any permissions. |
Parameters
Name | Type | Description |
---|---|---|
_this | ManagedObjectReference | A reference to the Permission used to make the method call. |
ids | PermissionId[] |
PermissionIds of entities to get.
|
Return Value
Type | Description |
---|---|
PermissionInfo[] | requested permission entities. |
Faults
Type | Description |
---|---|
EntityNotFound | Thrown if any specified entity cannot be found. |
InsufficientPermission | Thrown if the user does not have sufficient permission to perform the operation. |
InvalidArgument | Thrown if any specified argument is invalid. |
InvalidType | Thrown if the type of any specified argument is invalid. |
UnexpectedFault | Thrown if an unexpected error occurs while performing the operation. |
Privileges
Privilege | Description |
---|---|
GLOBAL_PERMISSION_VIEW | Permission read access privilege is required to read any permissions. |
Parameters
Name | Type | Description |
---|---|---|
_this | ManagedObjectReference | A reference to the Permission used to make the method call. |
Return Value
Type | Description |
---|---|
PermissionInfo[] | An array of permissions. |
Faults
Type | Description |
---|---|
EntityNotFound | Thrown if any specified entity cannot be found. |
InsufficientPermission | Thrown if the user does not have sufficient permission to perform the operation. |
InvalidArgument | Thrown if any specified argument is invalid. |
InvalidType | Thrown if the type of any specified argument is invalid. |
UnexpectedFault | Thrown if an unexpected error occurs while performing the operation. |
Top of page | Local Methods | ||
Service Types | Data Object Types | All Properties | All Methods |