public interface UserService extends PersistedService
destroy, destroyAll, save, saveWithoutValidation, validate, validate, validateList<User> loadByIds(Collection<String> ids)
Optional<User> loadByAuthServiceUidOrUsername(String authServiceUid, String username)
authServiceUid - the authentication service UID (tried first)username - the username (tried second)int delete(String username)
int deleteById(String userId)
User create()
@Deprecated User getAdminUser()
getRootUser() instead.Optional<User> getRootUser()
long count()
Collection<User> loadAllForRole(Role role)
List<org.apache.shiro.authz.permission.WildcardPermission> getWildcardPermissionsForUser(User user)
List<GRNPermission> getGRNPermissionsForUser(User user)
void dissociateAllUsersFromRole(Role role)
Copyright © 2012–2021 Graylog, Inc.. All rights reserved.