Determines whether the given user has access to this entity.
string $op: The operation being performed. One of 'view', 'update', 'create' or 'delete'.
User|AnonymousUser|object $account: (optional) The user to check for. Leave it to NULL to check for the global user.
bool: Whether access is allowed or not. If the entity type does not specify any access information, NULL is returned.
includes/ userinterface.inc, line 59
- Provides the interface for user entities.
- Defines a common interface for user entities.
public function access($op, $account = NULL);