cancel
Showing results for 
Search instead for 
Did you mean: 

Not able to get complete list of Users and Roles with Service Calls

austin_jacob
Explorer
0 Kudos

Hi All,

I am trying to retrieve the list of Users, Roles using following service calls.

/XMII/Illuminator?Service=SystemInfo&Mode=UserList

/XMII/Illuminator?Service=SystemInfo&Mode=RoleList

But I am not getting a complete list of Users as well as Roles. I know some roles and users are missing from the list of users and roles which are there actually in the UME. I am using a content type of text/xml. I have tried with Service as Admin also

Will there be any chance of limitation of number of Users or Lists?

I am using NW CE 7.1, SAP MII 12.1

Any help would be appreciated.

Regards,

Austin

Accepted Solutions (1)

Accepted Solutions (1)

austin_jacob
Explorer
0 Kudos

Thanks Jeremy, Hari and Christian,

Jeremy's response of adding &RowCount=xx worked well for RoleLists, and For Users I had to manually assign Everyone Role to the "Everyone" Group of LDAP Datasource to get the complete UserList.

Once again Thanks for the Responses

Regards,

Austin

Answers (3)

Answers (3)

former_member185280
Active Contributor
0 Kudos

I know there are configuration settings in the UME and possibly in your LDAP as well that will limit the number of results you can get.

HariCS23
Contributor
0 Kudos

I see you already told you have tried admin service.

Just to make sure you are doing right:

http://host:port/XMII/Illuminator?Service=Admin&Mode=UserList&Group=Everyone&Content-Type=text/xml

or

http://host:port/XMII/Illuminator?Service=Admin&Mode=UserList&Content-Type=text/xml

Are you getting 100 records ??

Thanks

Hari

austin_jacob
Explorer
0 Kudos

Hi Hari,

Thanks, If I look for 'Everyone' also I am not getting complete list. I must say I have thousands of users from LDAP as well.

Regards,

Austin

HariCS23
Contributor
0 Kudos

Hmm..Why don't you try to use native LDAP query or webservice if exists to get list of users...

and i would also try this :

Create a XML query with this URL http://host:port/XMII/Illuminator?Service=Admin&Mode=UserList&Content-Type=text/xml and change the rowcount to fit your need and see if that works.

Good luck.

Thanks

Hari

jcgood25
Active Contributor
0 Kudos

Is it getting truncated?  You could try adding &RowCount=xx to your URL.

austin_jacob
Explorer
0 Kudos

Hi Jeremy,

Thanks, Adding RowCount works well for RoleLists. The list was getting truncated earlier.

But, it is not working in case of UserLists. I must have mentioned earlier that we have many (1000s of) users from LDAP as well.

My Requirement is to display all the users in a dropdown and select a user and assign some assets agaist the user and add this to a master data in an sql table.

Do you suggest any other solution for this scenario?

Can we filter Users based on some factor other than Roles?

Regards,

Austin