Class AccessControlList
JSON represention of the _acl present on every entity stored in Kinvey. This object allows the app to modify with more granularity the access permissions on the entity, which will override the settings at the collection level.
Inheritance
Namespace: Kinvey
Assembly: Kinvey.dll
Syntax
public class AccessControlList : object
Constructors
| Improve this Doc View SourceAccessControlList()
Initializes a new instance of the AccessControlList class.
Declaration
public AccessControlList()
Fields
| Improve this Doc View SourceJSON_FIELD_NAME
The field name within every JSON object.
Declaration
public const string JSON_FIELD_NAME = null
Field Value
Type | Description |
---|---|
System.String | The string value with the field name. |
Properties
| Improve this Doc View SourceCreator
Gets or sets the creator value.
Declaration
public string Creator { get; set; }
Property Value
Type | Description |
---|---|
System.String | The creator |
GloballyReadable
Gets or sets whether this entity is globally readable.
Declaration
public bool GloballyReadable { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
GloballyWriteable
Gets or sets whether this entity is globally writeable.
Declaration
public bool GloballyWriteable { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
Groups
Gets or sets the ACL group that contains lists of user groups which are authorized on the entity for reading and writing. Within the ACLGroups object, there are 2 lists: one list for the user groups allowed to read the entity, and one list for the user groups that are allowed to modify the entity.
Declaration
public AccessControlList.ACLGroups Groups { get; set; }
Property Value
Type | Description |
---|---|
AccessControlList.ACLGroups | The group object which contains the list of user groups allowed to read and/or modify the entity. |
Readers
Gets or sets a list of user IDs that are specifically allowed to read this entity.
Declaration
public List<string> Readers { get; set; }
Property Value
Type | Description |
---|---|
List<System.String> | The list of user IDs allowed to read this entity. |
Writers
Gets or sets a list of user IDs that are specifically allowed to modify this entity.
Declaration
public List<string> Writers { get; set; }
Property Value
Type | Description |
---|---|
List<System.String> | The list of user IDs allowed to modify this entity. |