com.liferay.portlet.admin.util
Class OmniadminUtil
java.lang.Object
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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OmniadminUtil
public OmniadminUtil()
isOmniadmin
public static boolean isOmniadmin(long userId)