Focal Point Banner


As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.

Join the TIBCO Community
TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.

  • From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
  • Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
  • Request access to the private WebFOCUS User Group (login required) to network with fellow members.

Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.


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

Read-Only Read-Only Topic
Go
Search
Notify
Tools
(Solved) REST Service addusertogroup
 Login/Join
 
Guru
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: 258 | Location: Palm Coast, FL | Registered: February 05, 2010Report 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, 2009Report 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
 
Report This Post
Guru
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: 258 | Location: Palm Coast, FL | Registered: February 05, 2010Report 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, 2014Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

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

Copyright © 1996-2020 Information Builders