A ParseACL is used to control which users and roles can access or modify a particular object. Each
ParseObject can have its own ParseACL. You can grant read and write permissions
separately to specific users, to groups of users that belong to roles, or you can grant permissions
to "the public" so that, for example, any user could read a particular object but only a particular
set of users could write to that object.
Inheritance Hierarchy
ParseParseACL
Namespace: Parse
Assembly: Parse (in Parse.dll) Version: 1.5.5.0 (1.5.5.0)
Syntax
The ParseACL type exposes the following members.
Constructors
Name | Description | |
---|---|---|
ParseACL |
Creates an ACL with no permissions granted.
| |
ParseACL(ParseUser) |
Creates an ACL where only the provided user has access.
|
Properties
Name | Description | |
---|---|---|
PublicReadAccess |
Gets or sets whether the public is allowed to read this object.
| |
PublicWriteAccess |
Gets or sets whether the public is allowed to write this object.
|
Methods
Name | Description | |
---|---|---|
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetReadAccess(String) |
Gets whether the given user id is *explicitly* allowed to read this object.
Even if this returns false, the user may still be able to read it if
PublicReadAccess is true or a role that the user belongs to has read access.
| |
GetReadAccess(ParseUser) |
Gets whether the given user is *explicitly* allowed to read this object.
Even if this returns false, the user may still be able to read it if
PublicReadAccess is true or a role that the user belongs to has read access.
| |
GetRoleReadAccess(String) |
Gets whether users belonging to the role with the given roleName
are allowed to read this object. Even if this returns false, the role may still be
able to read it if a parent role has read access.
| |
GetRoleReadAccess(ParseRole) |
Gets whether users belonging to the role are allowed to read this object.
Even if this returns false, the role may still be able to read it if a
parent role has read access.
| |
GetRoleWriteAccess(String) |
Gets whether users belonging to the role with the given roleName
are allowed to write this object. Even if this returns false, the role may still be
able to write it if a parent role has write access.
| |
GetRoleWriteAccess(ParseRole) |
Gets whether users belonging to the role are allowed to write this object.
Even if this returns false, the role may still be able to write it if a
parent role has write access.
| |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
GetWriteAccess(String) |
Gets whether the given user id is *explicitly* allowed to write this object.
Even if this returns false, the user may still be able to write it if
PublicReadAccess is true or a role that the user belongs to has write access.
| |
GetWriteAccess(ParseUser) |
Gets whether the given user is *explicitly* allowed to write this object.
Even if this returns false, the user may still be able to write it if
PublicReadAccess is true or a role that the user belongs to has write access.
| |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
SetReadAccess(String, Boolean) |
Sets whether the given user id is allowed to read this object.
| |
SetReadAccess(ParseUser, Boolean) |
Sets whether the given user is allowed to read this object.
| |
SetRoleReadAccess(String, Boolean) |
Sets whether users belonging to the role with the given roleName
are allowed to read this object.
| |
SetRoleReadAccess(ParseRole, Boolean) |
Sets whether users belonging to the given role are allowed to read this object.
| |
SetRoleWriteAccess(String, Boolean) |
Sets whether users belonging to the role with the given roleName
are allowed to write this object.
| |
SetRoleWriteAccess(ParseRole, Boolean) |
Sets whether users belonging to the given role are allowed to write this object.
| |
SetWriteAccess(String, Boolean) |
Sets whether the given user id is allowed to write this object.
| |
SetWriteAccess(ParseUser, Boolean) |
Sets whether the given user is allowed to write this object.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
See Also