public interface IWssoUserRoleDAO
| Modifier and Type | Method and Description |
|---|---|
void |
createRoleForUser(int nIdUser,
String strRoleId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Assign a role to user
|
void |
deleteRolesForUser(int nIdUser,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete roles for a user
|
Collection<String> |
selectRoleListForUser(int nIdUser,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the list of Roles for a user
|
Collection<Integer> |
selectUserListForRole(String strRoleKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns a collection of User id
|
Collection<String> selectRoleListForUser(int nIdUser, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdUser - The id of the userplugin - The Plugin using this data access serviceCollection<Integer> selectUserListForRole(String strRoleKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
strRoleKey - The key of the roleplugin - The current plugin using this methodvoid deleteRolesForUser(int nIdUser,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdUser - The id of the userplugin - The Plugin using this data access servicevoid createRoleForUser(int nIdUser,
String strRoleId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdUser - The id of the userstrRoleId - The role keyplugin - The Plugin using this data access serviceCopyright © 2018 City of Paris. All rights reserved.