Liferay 6.1.2-ce-ga3

Class OmniadminUtil

  extended by com.liferay.portlet.admin.util.OmniadminUtil

public class OmniadminUtil
extends Object

Provides utility methods for determining if a user is a universal administrator. Universal administrators have administrator permissions in every company.

A user can be made a universal administrator by adding their primary key to the list in under the key omniadmin.users. If this property is left blank, administrators of the default company will automatically be universal administrators.

Constructor Summary
Method Summary
static boolean isOmniadmin(long userId)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail


public OmniadminUtil()
Method Detail


public static boolean isOmniadmin(long userId)

Liferay 6.1.2-ce-ga3