

# PrincipalUser
<a name="API_PrincipalUser"></a>

Provides information about a user associated with a principal.

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

 ** access **   <a name="qbusiness-Type-PrincipalUser-access"></a>
Provides information about whether to allow or deny access to the principal.  
Type: String  
Valid Values: `ALLOW | DENY`   
Required: Yes

 ** id **   <a name="qbusiness-Type-PrincipalUser-id"></a>
 The identifier of the user.   
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 1024.  
Pattern: `\P{C}*`   
Required: No

 ** membershipType **   <a name="qbusiness-Type-PrincipalUser-membershipType"></a>
The type of group.  
Type: String  
Valid Values: `INDEX | DATASOURCE`   
Required: No

## See Also
<a name="API_PrincipalUser_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/qbusiness-2023-11-27/PrincipalUser) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/qbusiness-2023-11-27/PrincipalUser) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/qbusiness-2023-11-27/PrincipalUser) 