M
M
maniac_by2020-02-03 12:01:44
PowerShell
maniac_by, 2020-02-03 12:01:44

How to insert a PowerShell command as a checkbox into a website?

It is necessary to create a website (absolutely simple), where there are users from AD and check boxes associated with groups in AD are displayed for them. Conditionally
List of users:
Go to the user, see the list:
BPX (pbx-users)
Confluence (confluence-users)
JIRA (jira-users)

Active checkbox - the user is added to the group, inactive checkbox - the user is not added/removed from the group.

Is there an easy way to arrange this?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
Vladimir Korotenko, 2020-02-03
@firedragon

Make a net-core application
With the following api
/api/getuserlist gives a list of users and group membership
/api/userchange sets or removes group membership
Inside /api/userchange a process is launched that adds or removes a user from the group
Windows authorization, the user must have rights to change editing OU
https://kimsereyblog.blogspot.com/2018/01/start-pr...
As if everything
Choose any Front, I would advise VUE

E
Eugene, 2020-02-28
@zloy_zaya

Doable, but not easy. Through the Java script, you will need to kick PowerShell, and write the code itself, taking into account that nested groups may occur, and you will need to expand it on the fly. In some cases, write your own classes.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question