tvaultapi/src/main/java/com/tmobile/cso/vault/api/v2/controller/AzureServicePrincipalAccountsController.java
@PostMapping(value="/v2/azureserviceaccounts/user",produces="application/json")
	@ApiOperation(value = "${AzureServicePrincipalAccountsController.addUserToAzureServicePrincipal.value}", notes = "${AzureServicePrincipalAccountsController.addUserToAzureServicePrincipal.notes}")
	public ResponseEntity<String> addUserToAzureServicePrincipal(HttpServletRequest request, @RequestHeader(value="vault-token") String token, @RequestBody @Valid AzureServiceAccountUser azureServiceAccountUser){
	   UserDetails userDetails = (UserDetails) request.getAttribute(USER_DETAILS_STRING);
	   return azureServicePrincipalAccountsService.addUserToAzureServiceAccount(token, userDetails, azureServiceAccountUser, false);
	}
/**
	 * Add user to Azure Service Principal
	 * @param azureServiceAccountUser
	 * @return
	 */
Add user to Azure Service Principal
@param azureServiceAccountUser
@return
Add user to Azure Service Principal @param azureServiceAccountUser @return
@PostMapping(value="/v2/azureserviceaccounts/user",produces="application/json")
	@ApiOperation(value = "${AzureServicePrincipalAccountsController.addUserToAzureServicePrincipal.value}", notes = "${AzureServicePrincipalAccountsController.addUserToAzureServicePrincipal.notes}")
	public ResponseEntity<String> addUserToAzureServicePrincipal(HttpServletRequest request, @RequestHeader(value="vault-token") String token, @RequestBody @Valid AzureServiceAccountUser azureServiceAccountUser){
	   UserDetails userDetails = (UserDetails) request.getAttribute(USER_DETAILS_STRING);
	   return azureServicePrincipalAccountsService.addUserToAzureServiceAccount(token, userDetails, azureServiceAccountUser, false);
	}
@ PostMapping ( value = "/v2/azureserviceaccounts/user" , produces = "application/json" ) @ ApiOperation ( value = "${AzureServicePrincipalAccountsController.addUserToAzureServicePrincipal.value}" , notes = "${AzureServicePrincipalAccountsController.addUserToAzureServicePrincipal.notes}" ) public ResponseEntity < String > addUserToAzureServicePrincipal ( HttpServletRequest request , @ RequestHeader ( value = "vault-token" ) String token , @ RequestBody @ Valid AzureServiceAccountUser azureServiceAccountUser ) { UserDetails userDetails = ( UserDetails ) request . getAttribute ( USER_DETAILS_STRING ) ; return azureServicePrincipalAccountsService . addUserToAzureServiceAccount ( token , userDetails , azureServiceAccountUser , false ) ; }
Add user to Azure Service Principal
 @param azureServiceAccountUser
 @return
Add user to Azure Service Principal @param azureServiceAccountUser @return