I am working in JAVA application and authenticating user through ITIM api. How to get groups accociated with user through ITIM api?
I am working in JAVA application and authenticating user through ITIM api. How to
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The system user will have an attribute of ‘erroles’ through which we can get information of user groups/Roles.
Get DistinguishedName from Person object.
Make PersonMO object having constructor like
new PersonMO(platform, subject, person.getDistinguishedName());Make
new AccountManager(platform, subject);This will give accounts collection
accountManager.getAccounts(personMO, LocaleCreator.getLocale());Get getSystemUserDN(userId);. PersonDao class will help in getting this.
Make new SystemUserMO(m_platform, m_subject, new DistinguishedName(systemUserDN));
Get the roles/Groups from systemUserMO.getData().getRoles()
Cheers
Imran Tariq