diff --git a/docs/member/member-roles-tags.md b/docs/member/member-roles-tags.md index 7a906c057..ae4ea65d5 100644 --- a/docs/member/member-roles-tags.md +++ b/docs/member/member-roles-tags.md @@ -13,7 +13,7 @@ ## `{exp:member:roles}` -The `{exp:member:roles}` tag allows you to display all groups that the member belongs to. +The `{exp:member:roles}` tag allows you to display all roles that the member belongs to. {exp:member:roles}
{name} ({role_id}{if is_primary_role}, Primary Role{/if})
@@ -25,7 +25,7 @@ The `{exp:member:roles}` tag allows you to display all groups that the member be member_id="147" -Specifies a particular member's information to display. By default (if you do not include the member_id parameter, the tag will simply display information pertaining to the currently logged-in user. +Specifies a particular member's information to display. By default (if you do not include the `member_id`` parameter), the tag will simply display information pertaining to the currently logged-in user. ### Variables @@ -77,3 +77,29 @@ The `{exp:member:has_role}` tag allows you to display or hide its content depend member_id="147" Specifies a particular member's information to display. By default (if you do not include the member_id parameter, the tag will simply display information pertaining to the currently logged-in user. + +## `{exp:member:role_groups}` + +The `{exp:member:role_groups}` tag allows you to display the role groups a member belongs to. Please note, while every member is in a Role not every member is in a role group. + + {exp:member:role_groups} +{role_group_name} (#{role_group_id})
+ {/exp:member:role_groups} + +### Parameters + +#### `member_id=` + + member_id="147" + +Specifies a particular member's information to display. By default (if you do not include the `member_id`` parameter), the tag will display information pertaining to the currently logged-in user. + +### Variables + +#### `{role_group_id}` + +Role Group ID + +#### `{role_group_name}` + +Role Group name