Class User

  • All Implemented Interfaces:
    com.composum.sling.core.bean.RestrictedBean, com.composum.sling.core.SlingBean

    public class User
    extends View
    Created by mzeibig on 16.11.15.
    • Constructor Detail

      • User

        public User()
    • Method Detail

      • getUser

        @NotNull
        public @NotNull UserModel getUser()
      • getHasProfile

        public boolean getHasProfile()
      • getProfile

        @NotNull
        public @NotNull com.composum.sling.core.user.UserProfile getProfile()
      • getUserLabel

        public String getUserLabel()
      • isSystemUser

        public boolean isSystemUser()
      • isAdmin

        public boolean isAdmin()
      • isDisabled

        public boolean isDisabled()
      • getDisabledReason

        public String getDisabledReason()
      • isCurrentUserAdmin

        public boolean isCurrentUserAdmin()
                                   throws javax.jcr.RepositoryException
        Returns true if the current request user is the admin user.
        Throws:
        javax.jcr.RepositoryException