cancel
Showing results for 
Search instead for 
Did you mean: 

custom application to manage BI User

0 Kudos
445

Hello community ,

I'm an intern who just started with BO, I'm basically a web developer.
I'm looking to create a custom application in order to create and delete BO user for BI4.2 version.

Do you know where I can find examples (simple) for this? wWth RESTful services or SDK?

I've done some research on google, but I find some old examples with old versions.


Thanks in advance for the help.
Kohan

Accepted Solutions (1)

Accepted Solutions (1)

ayman_salem
Active Contributor

To get the list of groups for a user, use cmsquery

http://<server>:6405/biprws//v1/cmsquery

in body:

<attrs xmlns="http://www.sap.com/rws/bip">
 <attr name="query" type="string">select si_id, si_name from ci_infoobjects, ci_appobjects, ci_systemobjects Where parents("si_name='UserGroup-User'", "si_name='<UserNameHere>'")</attr>
</attrs>
0 Kudos

it works perfectly.

Thank you very much

Answers (3)

Answers (3)

former_member721412
Discoverer
ayman_salem
Active Contributor
0 Kudos

Helllo Ayman,

Thank you for your help.

One more quesiton : how can I get the list of groups for a user ? like with id user i can get the groups which he is a member

Thank you very much for your help

Kohan

0 Kudos

Thank you very much for the help to both of you.
I still have a question how can I get the list of groups for a user ?
what I find:
GET http://<baseURL>/v1/userGroups/<usergroup_id>/users
what I want is the other direction, a bit like

GET http://<baseURL>/v1/user/<user_id>/userGroups

As we check groups for user on CMS

Thanks in advance for the help.
Kohan