This shows you the differences between two versions of the page.
stats:proc:revokeadminrights [2011/09/27 20:16] Patrick Michel created |
stats:proc:revokeadminrights [2013/07/10 12:32] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Revoke Admin Rights ====== | ||
- | |||
- | <code xcend> | ||
- | revokeAdminRights(ident username) { | ||
- | assume exists //accounts/account[username]/admin; # implies the account exists, which is implicitly true anyway | ||
- | |||
- | remove //accounts/account[username]/admin; | ||
- | } | ||
- | </code> | ||