ParseACL ClassParse
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

SystemObject
  ParseParseACL

Namespace: Parse
Assembly: Parse (in Parse.dll) Version: 1.5.5.0 (1.5.5.0)
Syntax

public class ParseACL

The ParseACL type exposes the following members.

Constructors

  NameDescription
Public methodParseACL
Creates an ACL with no permissions granted.
Public methodParseACL(ParseUser)
Creates an ACL where only the provided user has access.
Top
Properties

  NameDescription
Public propertyPublicReadAccess
Gets or sets whether the public is allowed to read this object.
Public propertyPublicWriteAccess
Gets or sets whether the public is allowed to write this object.
Top
Methods

  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetReadAccess(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.
Public methodGetReadAccess(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.
Public methodGetRoleReadAccess(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.
Public methodGetRoleReadAccess(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.
Public methodGetRoleWriteAccess(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.
Public methodGetRoleWriteAccess(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.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetWriteAccess(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.
Public methodGetWriteAccess(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.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodSetReadAccess(String, Boolean)
Sets whether the given user id is allowed to read this object.
Public methodSetReadAccess(ParseUser, Boolean)
Sets whether the given user is allowed to read this object.
Public methodSetRoleReadAccess(String, Boolean)
Sets whether users belonging to the role with the given roleName are allowed to read this object.
Public methodSetRoleReadAccess(ParseRole, Boolean)
Sets whether users belonging to the given role are allowed to read this object.
Public methodSetRoleWriteAccess(String, Boolean)
Sets whether users belonging to the role with the given roleName are allowed to write this object.
Public methodSetRoleWriteAccess(ParseRole, Boolean)
Sets whether users belonging to the given role are allowed to write this object.
Public methodSetWriteAccess(String, Boolean)
Sets whether the given user id is allowed to write this object.
Public methodSetWriteAccess(ParseUser, Boolean)
Sets whether the given user is allowed to write this object.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also

Reference