Privilege APIsedit

See Has privileges.