Properties Methods Events Direct Link

Class CQ.User

Package:CQ
Class:User
Extends:Object
Clientlib:cq.widgets
A helper class providing information about a CQ user as well as methods to manipulate it. Use the static method CQ.User.getCurrentUser() to retrieve an instance of this class for the current user.

This class is a singleton and cannot be created directly.

Public Properties

Property Defined By
  User.ADMIN : String
<static> The ID of the admin user (defaults to "admin").
User
  User.ANONYMOUS : String
<static> The ID of the anonymous user (defaults to "anonymous").
User
  User.LANGUAGE : String
<static> The path to the language property in the user info (defaults to "language").
User
  User.LOGIN_SERVLET_URL : String
Deprecated: since 5.5, use CQ.Sling.LOGIN_URL instead
<static> Login servlet URL
User
  User.LOGOUT_URL : String
Deprecated: since 5.5, use CQ.Sling.LOGOUT_URL instead
<static> Logout URL
User
  User.PERMISSION_UPDATE : String
<static> The update permission (defaults to "update").
User
  User.PLATFORM_LANGUAGE : String
<static> The path to the platform language property in the user info (defaults to "platform/language").
User
  User.PREFERENCES_PROVIDER_ID : String
<static> The default ID of the preferences provider.
User
  User.PRIVILEGES_STORE_ID : String
<static> The default ID of the privileges store.
User
  User.TOKEN_LOGIN_SERVLET_URL : String
Deprecated: since 5.5, use CQ.Sling.LOGIN_URL instead
<static> Login servlet URL
User

Public Methods

Method Defined By

Public Events

This class has no public events.