Fixed deprecated function
This commit is contained in:
parent
50d1974424
commit
41e88f0c6e
|
@ -12,7 +12,7 @@ public class SocialUsers {
|
||||||
|
|
||||||
public static Set<String> getUsernamesByRole(String roleName) throws Exception {
|
public static Set<String> getUsernamesByRole(String roleName) throws Exception {
|
||||||
UserClient userClient = new UserClient();
|
UserClient userClient = new UserClient();
|
||||||
Set<String> usernames = new HashSet<>(userClient.getAllUsernamesByLocalRole(roleName));
|
Set<String> usernames = new HashSet<>(userClient.getAllUsernamesByRole(roleName));
|
||||||
return usernames;
|
return usernames;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue