You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

How to present a user's user groups (profiles) in custom portal profile.php

Received Response
10
Views
4
Comments
edited Apr 6, 2020 12:45PM in Customer Portal 4 comments

Summary

User should see what user groups he/she is assigned to in profile.php

Content

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

19C

Code 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>

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!