

# RoleInfo
<a name="API_RoleInfo"></a>

Provides information about the role that is assigned to the user.

## Contents
<a name="API_RoleInfo_Contents"></a>

 ** accountId **   <a name="singlesignon-Type-RoleInfo-accountId"></a>
The identifier of the AWS account assigned to the user.  
Type: String  
Required: No

 ** roleName **   <a name="singlesignon-Type-RoleInfo-roleName"></a>
The friendly name of the role that is assigned to the user.  
Type: String  
Required: No

## See Also
<a name="API_RoleInfo_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/sso-2019-06-10/RoleInfo) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/sso-2019-06-10/RoleInfo) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/sso-2019-06-10/RoleInfo) 