Hai,
We are using Enterprise Portal 5.0. and LDAP. Our portal Objects are attached to userid in following manner,
Groups(HR_GROUPS) => Roles(HR_ROLES)
When a userid is created, it is attached to Group.
Now we have a requirment which needs to show different portal objects in day time and different object in night time. Currently we have one role HR_ROLES. So for the new requirement i thought of creating another roles called HR_ROLE_NIGHT and attach the objects which are to be shown in the night, then to run a program 8:00 pm to remove the relation between HR_GROUPS and HR_ROLES and attach the new role HR_ROLES_NIGHT TO HR_GROUPS and early morning just doing the reverse of this.
Before doing the program for testing purpose, i manually removed the link between HR_ROLES and HR_GROUPS. Userid id is attached to group HR_GROUPS and not to HR_ROLES. Since i deleted the link between HR_ROLES and HR_GROUPS, i thought they user will not have HR_ROLES attached to him in portal and when i log in i am able to see all object which are in HR_ROLES.
Please let me know why the above is not working.
If anybody has done something like attaching different roles to userid at different time. Please let me know how you have done.
Thanks & Regards,
H.K.Hayath Basha.