Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- PROCEDURE getUserRoles()
- response is array of MRoles = Projecte_Service.roles.GetAllByUserID(LOOP_RolsEmpleats.ATT_Codi)
- IF response.Count >= 1 THEN
- FOR EACH elem OF response
- FOR index = 1 _TO_ LOOP_ArrayRoles.Count
- IF elem.NOM = LOOP_ArrayRoles[index].ATT_NombreRoles THEN
- LOOP_ArrayRoles[index].CBOX_CheckedRow = True
- currentRoles.Add(elem.ROLES_ID)
- END
- END
- END
- END
- //get associations
- Projecte_Service.roles.getAllRolesAss()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement