Focal Point Banner
Community Center Education Summit Technical Support User Groups
Let's Get Social!

Facebook Twitter LinkedIn YouTube
Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     (Solved) REST Service addusertogroup
Go
New
Search
Notify
Tools
Reply
  
(Solved) REST Service addusertogroup
 Login/Join
 
Platinum Member
posted
Hi,
I need to use REST services to add a bunch of users to a bunch of groups. I have the documentation, but it does not show the syntax if I have nested groups - like the ones automatically created by the domain template tool.

For example - group name = "nameoftheApplication" and sub-groups "basicuser", "advanceduser" under that group. How do you do that with the REST call? Anybody know?

This message has been edited. Last edited by: Mike in DeLand,


Webfocus 8
Windows, Linux
 
Posts: 246 | Location: Palm Coast, FL | Registered: February 05, 2010Reply With QuoteReport This Post
Guru
posted Hide Post
Hi Mike,

While we wait for others to reply....

Please review RESTful Web Services documentation available here:

Ref.:
WebFOCUS RESTful Web Services Developer's Guide

Chapter 4 - WebFOCUS Security Administration RESTful Web Service Requests

Thank you for participating in the Focal Point Forum.

Kindest regards,
Tamra Colangelo
Focal Point Moderator - Information Builders Inc.
* Summit 2016 – June 13-17 in Reno, Nevada  - http://www.informationbuilders.com/events/summit


WebFOCUS 8x - BI Portal, Developer Studio, App Studio, Excel, PDF, Active Formats and HTML5
 
Posts: 487 | Location: Toronto | Registered: June 23, 2009Reply With QuoteReport This Post
<Emily McAllister>
posted
Hello Mike,
I see you created a case for this and got an answer. For anyone else who has a similar question, here is the answer:

http://host:port/ibi_apps/rs/ibfs/SSYS/USERS/Userid?IBIRS_action=addUserToGroup&IBIRS_groupPath=/SSYS/GROUPS/nameofthe Application/basicuser;/SSYS/GROUPS/nameoftheApplication/advanceduser
 
Reply With QuoteReport This Post
Platinum Member
posted Hide Post
Yes, thank you. I have not actually tried this yet, so I didn't want to put out any potentially bad information.


Webfocus 8
Windows, Linux
 
Posts: 246 | Location: Palm Coast, FL | Registered: February 05, 2010Reply With QuoteReport This Post
Master
posted Hide Post
Sorry I didn't see this post earlier, but I had put together a list of links for creating users groups, adding users to groups, deleting users and groups..

Maybe someone else can use some of these in the future.

Create User
http://localhost:8080/ibi_apps/rs/ibfs/SSYS/USERS/MyNewUser?IBIRS_action=put&IBIRS_object=<object _jt="IBFSUserObject" description="My New User" email="my.new@user.com" password="abc123" type="User"><status _jt="IBSSUserStatus" name="ACTIVE"/></object>


Create Group
http://localhost:8080/ibi_apps/rs/ibfs/SSYS/GROUPS/MyNewGroup?IBIRS_action=put&IBIRS_object=<object _jt="IBFSGroupObject" container="true" description="My Group Title" type="Group"></object>


Adding User to One or more Groups
http://localhost:8080/ibi_apps/rs/ibfs/SSYS/USERS/MyNewUser?IBIRS_action=addUserToGroup&IBIRS_groupPath=/SSYS/GROUPS/MyNewGroup;/SSYS/GROUPS/Administrators


Delete Group
http://localhost:8080/ibi_apps/rs/ibfs/SSYS/GROUPS/MyNewGroup?IBIRS_action=delete


Delete User
http://localhost:8080/ibi_apps/rs/ibfs/SSYS/USERS/MyNewUser?IBIRS_action=delete


Also I don't know how to use it as this page complexes me, but IBI has a page to test or create or delete these links.. I think it is anyway.
http://localhost:8080/ibi_apps/rs?IBIRS_action=TEST

This message has been edited. Last edited by: GavinL,



- FOCUS Man, just FOCUS!
-----------------------------
Product: WebFOCUS
Version: 8.1.04
Server: Windows 2008 Server
 
Posts: 578 | Registered: October 01, 2014Reply With QuoteReport This Post
  Powered by Social Strata  
 

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     (Solved) REST Service addusertogroup

Copyright © 1996-2018 Information Builders, leaders in enterprise business intelligence.