public interface Sab
| Modifier and Type | Method and Description |
|---|---|
SabRoleHolder |
getRoles(String userId)
Get the Role/organisation info for the given userId
|
boolean |
hasRoleForOrganisation(String userId,
String role,
String organisation)
Returns whether the given user has the given role for the given organisation
|
boolean hasRoleForOrganisation(String userId, String role, String organisation)
userId - role - organisation - SabRoleHolder getRoles(String userId) throws IOException
userId - the userId to query forIOException - when IO fails or an error occurs (for example authentication failure)Copyright © 2012–2013 SURFnet bv, The Netherlands. All rights reserved.