Unsolved
10 Posts
0
780
January 17th, 2022 23:00
Networker Rest API to give user permissions
Hi Everyone.
Is it possible to manage users like adding a new user and deleting a user in the setup tab of Networker using Networker Rest API. I want to automate this procedure using Rest API. Can anyone suggest me on this. How can we achieve this. Any screenshot would be awesome.
Thankyou very much,
Piyush Verma
No Events found!
piyush_automation
10 Posts
0
January 17th, 2022 23:00
Hi @crazyrov . Will you be able to comment on this
barry_beckers
393 Posts
1
January 18th, 2022 00:00
did you check the online rest api resources as nowadays it is no longer mentioned in any pdf docs but rather online on https://api-marketplace.dell.com.
for NW specifically:
https://api-marketplace.dell.com/#/overview-doc/2378/5968/docs/GettingStarted.md
I can't recall that NW NMC user management is part of it (yet, even if at all?) as the NW NMC users are nowadays regarded as being external to the NW server, even when the NMC actually runs on the NW server itself.
For creating NW NMC users I use the rather options of the authc_mgmt command. However when doing so at the time, it was somewhat peculiar as it appeared that some settings to be set did not work in one initial commadn and required to be set after the user account is created (like user-options-password-must-change and user-options-password-never-expires) by looping through a created user and then setting those.
However have not found an option (yet?) to assign newly created users to actually be either user/admin/security admin. Those check boxes I still have to manually check once the users are created by script...
I'm curious if others might still have found ways to do this all via commandline or even rest-api?
Only would have to set the password for the user being used to perform the command and also set the password that you want to be set for the new user. It uses an input file with the pipe (|) as field separator for users information:
|||
piyush_automation
10 Posts
0
January 18th, 2022 01:00
Hi @barry_beckers
I was simply trying to add users in the Networker as this task is a part of User Management in my opinion. I conclude that there is a way in which we can successfully add users into the Networker Management Console by using the Rest API of Networker.
I am willing to paste a screenshot of the work but is there any way I can delete it later?
crazyrov
4 Operator
•
1.3K Posts
0
February 22nd, 2022 01:00
Hi @piyush_automation , unfortunately there is no endpoint defined for creating a user. This might mostly because the user is created in the authc database and the API is used to get/put information from the resource database or media database.
The mostly easiest way to figure out is to use the Web ui, see if such a option exists there (Sorry I don't have a web UI handy to check this) and probably follow the RPC call to the endpoint using tools like chrome developer tools.