TIBCO EMS .NET API 8.4
TIBCO EMS .NET API 8.4
|
This class represents a set of permissions on destinations. More...
Public Member Functions | |
Permissions () | |
Default constructor which creates empty set of permissions. More... | |
Permissions (long perms) | |
Creates given set of permissions. More... | |
bool | HasPermission (long perm) |
Determine if the given permission is present in these Permissions. More... | |
void | SetPermission (long perm, bool grant) |
Set or unset given permissions in this set of permissions. More... | |
bool | HasInheritedPermission (long perm) |
Determine if the given permission is present in the Inherited Permissions. More... | |
override string | ToString () |
Generate a string representation of this Permissions. More... | |
Public Attributes | |
const long | SEND = 0x0001 |
Send permission for a queue. More... | |
const long | RECEIVE = 0x0002 |
Receive permission for a queue. More... | |
const long | BROWSE = 0x0004 |
Browse permission for a queue. More... | |
const long | PUBLISH = 0x0010 |
Publish permission for a topic. More... | |
const long | SUBSCRIBE = 0x0020 |
Subscribe permission for a topic. More... | |
const long | DURABLE = 0x0040 |
Permission to create a durable subscriber for a topic. More... | |
const long | USE_DURABLE = 0x0080 |
Permission to use a durable subscription that already exists on the EMS server. More... | |
const long | VIEW = 0x00010000 |
Administrative permission to view destination. More... | |
const long | CREATE = 0x00020000 |
Administrative permission to create destination. More... | |
const long | DELETE = 0x00040000 |
Administrative permission to delete destination. More... | |
const long | MODIFY = 0x00080000 |
Administrative permission to modify destination. More... | |
const long | PURGE = 0x00100000 |
Administrative permission to purge destination. More... | |
Static Public Attributes | |
static readonly long | SEND_PERMISSION = SEND |
Send permission for a queue, deprecated. Use SEND permission. More... | |
static readonly long | RECEIVE_PERMISSION = RECEIVE |
Receive permission for a queue, deprecated. Use RECEIVE permission More... | |
static readonly long | BROWSE_PERMISSION = BROWSE |
Browse permission for a queue, deprecated. Use BROWSE permission. More... | |
static readonly long | PUBLISH_PERMISSION = PUBLISH |
Publish permission for a topic, deprecated. Use PUBLISH permission. More... | |
static readonly long | SUBSCRIBE_PERMISSION = SUBSCRIBE |
Subscribe permission for a topic, deprecated. Use SUBSCRIBE permission. More... | |
static readonly long | DURABLE_PERMISSION = DURABLE |
Permission to create a durable subscriber for a topic, deprecated. Use DURABLE permission. More... | |
Properties | |
bool | Empty [get] |
Indicates whether or not the Permissions object has any permissions set. More... | |
This class represents a set of permissions on destinations.
Permissions objects are used with ACLEntries to represent the user-level and optionally administrative permissions that a principal has on a destination.
|
inline |
Default constructor which creates empty set of permissions.
|
inline |
Creates given set of permissions.
perms | the permissions. |
|
inline |
Determine if the given permission is present in the Inherited Permissions.
perm | permissions |
|
inline |
Determine if the given permission is present in these Permissions.
perm | permissions |
|
inline |
Set or unset given permissions in this set of permissions.
perm | permissions |
grant | true if permissions should be added to the set, false if they should be removed |
|
inline |
Generate a string representation of this Permissions.
const long TIBCO.EMS.ADMIN.Permissions.BROWSE = 0x0004 |
Browse permission for a queue.
|
static |
Browse permission for a queue, deprecated. Use BROWSE permission.
const long TIBCO.EMS.ADMIN.Permissions.CREATE = 0x00020000 |
Administrative permission to create destination.
const long TIBCO.EMS.ADMIN.Permissions.DELETE = 0x00040000 |
Administrative permission to delete destination.
const long TIBCO.EMS.ADMIN.Permissions.DURABLE = 0x0040 |
Permission to create a durable subscriber for a topic.
|
static |
Permission to create a durable subscriber for a topic, deprecated. Use DURABLE permission.
const long TIBCO.EMS.ADMIN.Permissions.MODIFY = 0x00080000 |
Administrative permission to modify destination.
const long TIBCO.EMS.ADMIN.Permissions.PUBLISH = 0x0010 |
Publish permission for a topic.
|
static |
Publish permission for a topic, deprecated. Use PUBLISH permission.
const long TIBCO.EMS.ADMIN.Permissions.PURGE = 0x00100000 |
Administrative permission to purge destination.
const long TIBCO.EMS.ADMIN.Permissions.RECEIVE = 0x0002 |
Receive permission for a queue.
|
static |
Receive permission for a queue, deprecated. Use RECEIVE permission
const long TIBCO.EMS.ADMIN.Permissions.SEND = 0x0001 |
Send permission for a queue.
|
static |
Send permission for a queue, deprecated. Use SEND permission.
const long TIBCO.EMS.ADMIN.Permissions.SUBSCRIBE = 0x0020 |
Subscribe permission for a topic.
|
static |
Subscribe permission for a topic, deprecated. Use SUBSCRIBE permission.
const long TIBCO.EMS.ADMIN.Permissions.USE_DURABLE = 0x0080 |
Permission to use a durable subscription that already exists on the EMS server.
const long TIBCO.EMS.ADMIN.Permissions.VIEW = 0x00010000 |
Administrative permission to view destination.
|
get |
Indicates whether or not the Permissions object has any permissions set.