<!DOCTYPE html><HTML><HEAD><TITLE>Resource role-mappings</TITLE><LINK REL='stylesheet' TYPE='text/css' HREF='../../../../../../doclet.css' TITLE='Style'/><META http-equiv="Content-Type" content="text/html; charset=UTF-8">
</HEAD><BODY><b>Keycloak REST Services 1.3.1.Final</b><table class='menu menu-top'><colgroup><col/><col/></colgroup><tbody><tr><td class='NavBarCell1' colspan='2'><table><tbody><tr><th><a href='../../../../../../overview-summary.html'>Overview</a></th><th><a href='../../../../../../overview-index.html'>Index</a></th><th><a href='../../../../../../index.html'>Root resource</a></th></tr></tbody></table></td></tr><tr><td class='NavBarCell3'>summary: <a href='#resources'>resource</a> | <a href='#methods-summary'>method</a></td><td class='NavBarCell3'>detail: <a href='#methods-details'>method</a></td></tr></table><dl><h2>Path: <a href='../../../../../../index.html'>/</a> <a href='../../../../../index.html'>admin</a> / <a href='../../../../index.html'>realms</a> / <a href='../../../index.html'>{realm}</a> / <a href='../../index.html'>users</a> / <a href='../index.html'>{id}</a> / role-mappings</h2><div class='doc-comment'>Get role mappings for this user
<P>
</div><dt><b>Path parameters:</b></dt><dd><b>realm</b> - realm name (not id!)</dd><dd><b>id</b> - user id</dd><hr/><dt>Sub-Resources</dt><dd><table class='info' id='resources'><caption class='TableCaption'>Resources</caption><tbody><tr><th class='TableHeader'>Name</th><th class='TableHeader'>Description</th></tr><tr><td><a href='clients/index.html'>clients</a><br/> ↳ <span class='deep-resource'><a href='clients/{client}/index.html'>clients/{client}</a></span></td><td>Get client-level role mappings for this user for a specific app</td></tr><tr><td><a href='realm/index.html'>realm</a></td><td>Get realm-level role mappings for this user</td></tr></tbody></table></dd><hr/><dt>Resource Methods</dt><dd><table class='info' id='methods-summary'><caption class='TableCaption'>Method Summary</caption><tbody><tr><th class='TableHeader'>Name</th><th class='TableHeader'>Description</th></tr><tr><td><tt><a href='#GET'>GET /admin/realms/{realm}/users/{id}/role-mappings</a></tt></td><td>Get role mappings for this user</td></tr></tbody></table></dd></dl><hr/><table class='info' id='methods-details'><caption class='TableCaption'>Method Detail</caption><tbody><tr><td><a name='GET'></a><h3>GET /admin/realms/{realm}/users/{id}/role-mappings</h3><p>Get role mappings for this user
<P>
</p><dl><table class='examples'><tr><td><dt>HTTP Example:</dt><dd><pre>GET /admin/realms/{realm}/users/{id}/role-mappings</pre></dd></td><td><dt>API Example:</dt><dd><p><tt>UsersResource.getRoleMappings({'realm': <span class='comment'>/* name realm name (not id!) */</span>,<br/>&nbsp;&nbsp;'id': <span class='comment'>/* id user id */</span>});</tt></p></dd></td></tr></table><dt><b>Output:</b></dt><dd><tt><a title='org.keycloak.representations.idm.MappingsRepresentation' + href='../../../../../../../javadocs/org/keycloak/representations/idm/MappingsRepresentation.html'>MappingsRepresentation</a></tt> - </dd><dt><b>Produces:</b></dt><dd>application/json</dd></dl></td></tr></tbody></table><hr/><table class='menu menu-bottom'><colgroup><col/><col/></colgroup><tbody><tr><td class='NavBarCell1' colspan='2'><table><tbody><tr><th><a href='../../../../../../overview-summary.html'>Overview</a></th><th><a href='../../../../../../overview-index.html'>Index</a></th><th><a href='../../../../../../index.html'>Root resource</a></th></tr></tbody></table></td></tr><tr><td class='NavBarCell3'>summary: <a href='#resources'>resource</a> | <a href='#methods-summary'>method</a></td><td class='NavBarCell3'>detail: <a href='#methods-details'>method</a></td></tr></table><b>Keycloak REST Services 1.3.1.Final</b><hr/><div class='footer'>Generated by <a href='http://www.lunatech-labs.com/open-source/jax-doclets'>Lunatech Labs jax-doclets</a> v0.10.0</div></BODY></HTML>