on 10-14-2014 5:01 PM
Hello All,
Could you please anybody confirm that getPrincipals function is working fine for LDAP user IDs?
In production environment I am facing an issue where, tasks are not getting triggered for LDAP users. In NWA, task is showing as Erroneous. Also it is not possible to resume the task
In my scenario, I am passing unique name of user IDs as a string array into getPrincipals function to trigger tasks. Unique names that I am getting using API, contains special characters (\) for LDAP users.
This ffunctionality is perfectly working fine in quality environment with UME user IDs.
Kindly requesting to provide any document or any help to resolve this issue.
Many Thanks
Ashwin.
Hi Ashwin,
the problem is that the unique id contains information about the source. Therefore, users created locally in UME and users coming from LDAP will have different unique ids.
If you know that the principal you read will be a user you can use the following function:
getPrincipalByUniqueName(<userName>, "User")
This will give you a user identified by the user id, not the unique id.
Best regards,
Frank
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ashwin,
Please find hereunder the unique id format for the UME users imported from LDAP.
USER.CORP_LDAP.username
Hope this would resolve your issue.
Regards,
Ahmed
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
why it contains "\"? make sure you get the correct unique id
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jun,
Thanks for your reply!
I have checked in SAP portal and found that for some users it is containing "\" in the unique name. I am not sure whether this is the default behavior for LDAP users. For UME users it does not containing "\" on unique name and it is working fine.
Thanks & Regards
Ashwin Careem
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.