org.keycloak.storage.user

## Interface UserBulkUpdateProvider

- All Known Subinterfaces:
    UserCache, UserCache.Streams, UserProvider, UserProvider.Streams
  All Known Implementing Classes:
    JpaUserProvider, MapUserProvider, UserCacheSession, UserStorageManager

      public interface UserBulkUpdateProvider

  Version:
    $Revision: 1 $
  Author:
    Bill Burke

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `grantToAllUsers(RealmModel realm, RoleModel role)` Grants the given role to all users from particular realm.

- - ### Method Detail

    - #### grantToAllUsers

          void grantToAllUsers(RealmModel realm,
                               RoleModel role)

      Grants the given role to all users from particular realm. The role has to belong to the realm.
      Parameters:
        `realm` - Realm
        `role` - Role to be granted

Copyright © 2020 JBoss by Red Hat. All rights reserved.