How to present a user's user groups (profiles) in custom portal profile.php
Summary
User should see what user groups he/she is assigned to in profile.phpContent
Hi there,
For support purposes we want the user to be able to tell support what user groups he/she is assigned to.
I would like to know if there is a way to present the user groups on a profile-page the user can access. We now have a page showing fields from account. Do you have code to add which shows the user's usergroups or profiles*? (*we have a 1-on-1 relationship between proflles and user groups.
Version
19CCode Snippet
<rn:meta title="#rn:msg:ACCOUNT_SETTINGS_LBL#" template="standard.php" login_required="true" force_https="true" /> <div class="rn_Hero"> <div class="rn_Container"> <h1>#rn:msg:ACCOUNT_SETTINGS_LBL#</h1> </div> </div> <br> <div class="rn_Container"> <h2>#rn:msg:ACCOUNT_LBL#</h2> </div> <div class="Ach_Accountgegevens Ach_Account rn_Container"> <b>Voornaam</b> <br> <rn:field name="Contact.Name.First" /> <br> <br> <b>Achternaam</b> <br> <rn:field name="Contact.Name.Last" /> <br> <br> <b>Weergavenaam</b> <br> <rn:field name="Contact.LookupName" /> <br> <br> <b>E-mail</b> <br> <rn:field name="Contact.Emails.PRIMARY.Address" /> <br> <br> <b>Gebruikersnaam</b> <br> <rn:field name="Contact.Login" /> <br> <br> <b>Account inactief?</b> <br> <rn:field name="Contact.Disabled" /> <br> <br> </div> <div class="rn_Container"> <h2>#rn:msg:CUSTOM_MSG_AUTORISATIES_LBL#</h2> </div> <div class="Ach_Accountgegevens Ach_Account rn_Container"> <b>Gebruikersgroepen</b> <br> <....PLACE WHERE USER GROUPS GO ...> <br> <br> <b>Rol</b> <br> <br> <br> <b>Categorie</b> <br> <br> <br> </div>
Tagged:
1