I want to built a link that you click and depending on your user group it redirects you to a certain page. Is the same possible for a redirect page?
1 Answer
You can use different ContentEditor (Script) WebParts for Each Group, set the Target Audience on each WebPart to match your groups.
Inside each Webpart add a script which sets a global
_MyGroupName
variable_MyGroupName='A';
Add a ContentEditor Webpart at the bottom of the page which executes code for everyone
switch(_MyGroupName){ case('A'): url=''; break; case('B'): url=''; break; case('C'): url=''; break; } document.location=url;