I need to retrieve 'Data source' (like UME, LDAP etc) for a user, group and role. I checked all the the API classes (like IUser, IGroup, IRole) and I could't find a getter method.
How do we usually retrieve 'Data source' value of a user/group/role.
Please provide code sample.
Requirement is to match datasource of a group/role and user, and if matches then only assign the group/role to a user else ignore.