LJ::Tags::get_permission_levels

LJ::Tags::get_permission_levels — Gets the permission levels on an account.

Use

LJ::Tags::get_permission_levels(uobj);

Arguments

  • uobj. User id or object of account to get permissions for.

Source:

cgi-bin/LJ/Tags.pm

Returns:

Hashref; keys one of 'add', 'control'; values being 'private' (only the account in question), 'friends' (all friends), 'public' (everybody), 'group:N' (one friend group with given id), or 'none' (nobody can).