function acl_remove_user in ACL 7
Same name and namespace in other branches
- 8 acl.module \acl_remove_user()
- 5 acl.module \acl_remove_user()
- 6 acl.module \acl_remove_user()
Remove the specified UID from an ACL.
1 call to acl_remove_user()
- AclWebTestCase::testNodeAclSingleUserAddRemove in tests/
acl.test - Includes acl_add_user, acl_remove_user, acl_has_users, acl_get_id_by_name, acl_has_user, acl_get_uids
File
- ./
acl.module, line 83 - An API module providing by-user access control lists.
Code
function acl_remove_user($acl_id, $uid) {
db_delete('acl_user')
->condition('acl_id', $acl_id)
->condition('uid', $uid)
->execute();
}