»

LJ::can_manage

LJ::can_manage — Given a user and a target user, will determine if the first user is an admin for the target user.

Use

LJ::can_manage(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