MarkLogic XCC/.Net Library

ContentPermission Members

ContentPermission overview

Public Static (Shared) Fields

Execute Execute capability
Insert Insert capability
Read Read capability
Update Update capability

Public Static (Shared) Methods

NewExecutePermission Convenience factory method to create a permission object with execute capability and the given role.
NewInsertPermission Convenience factory method to create a permission object with insert capability and the given role.
NewReadPermission Convenience factory method to create a permission object with read capability and the given role.
NewUpdatePermission Convenience factory method to create a permission object with update capability and the given role.

Public Instance Constructors

ContentPermission Constructor Instantiate a new permission object with the given capability and role.

Public Instance Properties

Capability Get this permission's capability.
Role Get the name of the role associated with this permission.

Public Instance Methods

Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
ToString The String name of this permission.

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

ContentPermission Class | Marklogic.Xcc Namespace |