08-28-2015 05:55 AM
08-29-2015 11:11 AM
08-31-2015 04:38 AM
08-31-2015 04:45 AM
08-31-2015 06:36 AM
<webscript>
<shortname>AddUserToGroup</shortname>
<description>AddUserToGroup</description>
<url>/auth/AddUserToGroup</url>
<format default="html">argument</format>
<authentication>user</authentication>
<transaction>required</transaction>
</webscript>
var user = people.getPerson(user);
var group = people.getGroup("GROUP_test");
if (user == undefined)
{
status.code = 404;
status.message = "User not found";
status.redirect = true;
}
else if (group == undefined)
{
status.code = 404;
status.message = "Group not found";
status.redirect = true;
}
else
{
people.addAuthority(group,user);
}
<html>
<head>
<title>Groups</title>
</head>
<body>
User assigned to group
</body>
</html>
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.