»

LJ::can_manage_other

LJ::can_manage_other — Given a user and a target user, will determine if the first user is an admin for the target user, but not if the two are the same.

Use

LJ::can_manage_other(remote, u);

Arguments

  • remote. user object or userid of user to try and authenticate

  • u. user object or userid of target user

Source:

cgi-bin/ljlib.pl

Returns:

bool: true if authorized, otherwise fail