0 votes

Is it possible to create a Home Page Action to copy group memebership from one user to another? (Already existing users)

by (960 points)

1 Answer

0 votes
by (216k points)

Hello,

You can't create a single Home Page Action for this purpose, but you can workaround with the help of two Custom Commands. One of the Custom Commands will copy the group memberships from a user to a virtual attribute of the user who launches the Custom Command, and another one that will 'paste' the group memberships stored in the virtual property to the user, on which the Command is executed. In other words, the first Custom Command needs to be executed on the user whose memberships are copied, and the other one must be executed on the user(s) to whom the group memberships will be copied. For details on how to create such Custom Commands, take a look at Copy of groups membership from one user to another.

If necessary, you can make the Custom Commands available on the home page as Home Page Actions. For details, see section Custom Command in the following tutorial: http://www.adaxes.com/tutorials_WebInte ... #executecc.

Related questions

0 votes
1 answer

On the Home page Action screen(Configure Home Page Actions), there are groups and actions under those groups. In the new version there is a COPY command if you right click( ... copied...but nothing ever gets pasted. Bug or am I doing something wrong. Thanks!

asked Jun 18, 2012 by mpaul (360 points)
0 votes
1 answer

Hello We have the need to create a home page action for creating groups, security and distribution. We would like to see if this script https://www.adaxes.com/script-repositor . ... 3 (whatever is typed) Thank you for taking the time to look at this. Jay

asked Mar 12, 2018 by willy-wally (3.2k points)
0 votes
1 answer

Hi I have a colleague who claims, that objectCategory and/or objectClass should be included in LDAP searches, to reduce load on the domain controller. It sound reasonable, but ... build into the code behind the Home Page Action ? View Group example: - Thanks

asked Jan 4, 2018 by Boxx.dk (2.6k points)
0 votes
1 answer

Hi, I am trying to setup a Home Page action in the Help Desk portal to modify a User account, for this i want to specify the default value of a property to be the ... the user account i am modifying to get the default value? Thanks in advance for any help!

asked Dec 1, 2016 by sam.webster (370 points)
0 votes
0 answers

I have followed the tutorial on how to set an addresses based on the Office field. http://www.adaxes.com/tutorials_Simplif ... Office.htm The scenario is that for employees I ... g only let them be edited if there if a values such as "Contractor" is selected?

asked Aug 11, 2016 by jscovill (110 points)
3,346 questions
3,047 answers
7,782 comments
544,986 users