cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Your Friends List is a way to easily have access to the community members that you interact with the most! X

Is there a command-line method for adding and removing users from a group?

smccoy
1-Newbie

Is there a command-line method for adding and removing users from a group?

Can someone confirm whether or not there is command-line method for adding users to, and removing users from, a group?

If there is, can the syntax, an example, or reference to the documentation be provided, as well?

Kind regards,

-Sean

3 REPLIES 3
MichaelChatel
20-Turquoise
(To:smccoy)

Hi Sean,

Sounds like you're looking for "integrity editmksdomaingroup".

If your man page help is working for your Integrity server, you can type:

man integrityeditmksdomaingroup

...to get more details.

(depending on the Integrity version you are on, you may still have the CLI command guide in PDF too to download from our site)

Quick copy-and-paste excerot here for you...

integrity editmksdomaingroup - edits an MKS Domain group

integrity editmksdomaingroup

edits an MKS Domain group

===========================================================================

SYNOPSIS

integrity editmksdomaingroup [--addMembers=value] [--description=value]

[--removeMembers=value] [--hostname=server] [--port=number]

[--password=password] [--user=name] [(-Ffile|--selectionFile=file)]

[(-?|--usage)] [(-N|--no)] [(-Y|--yes)] [--[no]batch] [--cwd=directory]

[--forceConfirm=[yes|no]] [(-g|--gui)] [--quiet]

[--settingsUI=[gui|default]] [--status=[none|gui|default]] group...

===========================================================================

DESCRIPTION

integrity editmksdomaingroup edits a group from the MKS Domain. The group

name is not editable....etc

Hi Michael,

Thank you for the reply. We may be on to something, but we'll need more to make this work.

Your suggestion works great where the Thick-Client tools are installed. Our challenge is to come up with a solution to help with the administration of groups without the need for the Integrity Thick-Client tool - in other wrods, performing group administration from the Web Client. Running the 'integrity' command currently does not work on the server side.

So, to rephrase my question:

Can someone confirm whether or not there is command-line method that runs on the server for adding users to, and removing users from, a group? The intention is to execute this command from a trigger/script so that it can be invoked from the Web Client to run on the server.


Kind regards,

-Sean

Hi Sean,

Something another of our customers has done is to create a custom JSP webpage which passes 'im' commands right in the JSP itself for the user/group creation and import. The other pieces (changing user group membership and such) uses webservices to make calls back to Integrity.

The JSP page has some login functionality written into it so these options are also only available to whoever is granted login access (mostly because if those commands run "diag" commands behind the scenes, they need to use an admin account).

Custom JSP Portal.png

This sounds very similar to what you are asking so I can say it is definitely possible to get this to happen, but the customer developed it themselves and I don't have any more knowledge about it outside what I wrote above.

Top Tags