Class Role
Role representation on LeanCloud
A role represents a group of users in ACL, where a role can be assigned read/write permissions. If a role was granted write permission, then users belongs to this role will all inherit the write permission.
All users of a role could be queried by $role->getUsers(), which
is an instance of Relation, where users can be added or
removed.
Roles can belong to role as well, which can be got by
$role->getRoles(), where roles can be added or removed.
- LeanCloud\LeanObject
 - 
			
LeanCloud\Role			
			
			
		 
			 public 
			
		 | 
		|
			 public 
			string
			
			
		 | 
		|
			 public 
			
		 | 
		|
			 public 
			
		 | 
		
			protected static 
			string
		 | 
		
				$className
			 Table name on LeanCloud  | 
		
			 
				#
				 
		"_Role"
			 | 
	
			$PRESERVED_KEYS
		 |