Liferay 6.1.2-ce-ga3

com.liferay.portlet.admin.util
Class OmniadminUtil

java.lang.Object
  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 portal.properties under the key omniadmin.users. If this property is left blank, administrators of the default company will automatically be universal administrators.


Constructor Summary
OmniadminUtil()
           
 
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

OmniadminUtil

public OmniadminUtil()
Method Detail

isOmniadmin

public static boolean isOmniadmin(long userId)

Liferay 6.1.2-ce-ga3