Privilege Class

User privilege.

Definition

Namespace: Aerospike.Client
Assembly: AerospikeClient (in AerospikeClient.dll) Version: 7.0.1
C#
public sealed class Privilege
Inheritance
Object    Privilege

Constructors

PrivilegeInitializes a new instance of the Privilege class

Properties

Code Privilege code property.
CodeString Privilege code property.
Namespace Namespace property.
SetName SetName property.

Methods

CanScope Can privilege be scoped with namespace and set.
Clone Return privilege shallow clone.
Equals Return if privileges are equal.
(Overrides ObjectEquals(Object))
GetHashCode Return privilege hashcode.
(Overrides ObjectGetHashCode)
PrivilegeCodeToString Convert privilege code to string.
ToString Convert privilege to string.
(Overrides ObjectToString)

Fields

code Privilege code.
ns Namespace scope. Apply permission to this namespace only. If namespace is null, the privilege applies to all namespaces.
setName Set name scope. Apply permission to this set within namespace only. If set is null, the privilege applies to all sets within namespace.

See Also