Pronto v5 Web Services
MethodGetParticipantEncryptedCredentials
Pronto v5 Web Services > All Operations Resource Group : GetParticipantEncryptedCredentials (Method)
Request (IProntoService_GetParticipantEncryptedCredentials_InputMessage)

The request body is of type GetParticipantEncryptedCredentials.

Request Body Parameters

NameDescriptionData Type
 ServiceAuthenticationModel
 ParticipantEncryptedCredentialsRequestModel
ParticipantCredentialsModel Element Sequence Credentials Element EnableLogging Element Sequence participantEncryptedCredentialsRequest Element ApiPassword Element ApiUsername Element ApiSecretOrAuthData Element ApiKeyOrProntoID Element Sequence serviceAuthentication Element Sequence GetParticipantEncryptedCredentials Element

Overview

Response (IProntoService_GetParticipantEncryptedCredentials_OutputMessage)

The response body is of type GetParticipantEncryptedCredentialsResponse.

Response Body Parameters

NameDescriptionData Type
 ParticipantEncryptedCredentialsServiceReturnModel
TimeZoneUtcOffset Element ProcessingTime Element ParticipantEncryptedCredentialsModel Element Sequence EncryptedCredentials Element Message Element IsSuccessful Element Sequence GetParticipantEncryptedCredentialsResult Element Sequence GetParticipantEncryptedCredentialsResponse Element

Overview

Example
var model = new ParticipantEncryptedCredentialsRequestModel()
{
    Credentials = new ParticipantCredentialsModel[]
    {
        new ParticipantCredentialsModel()
        {
            ParticipantID = 1234567890,
            Password = "p@ssword123", //If your password is hashed, pass that instead.
			Username = "johnsmith"  //username is only required for RegisteredUser auth
        }
    }
};
var results = serviceClient.GetParticipantEncryptedCredentials(sa, model);
if (results.IsSuccessful)
{
    //do work...
}
else
{
    //handle error
}
'If your password is hashed, pass that instead.
'username is only required for RegisteredUser auth
Dim model = New ParticipantEncryptedCredentialsRequestModel() With { 
	 .Credentials = New ParticipantCredentialsModel() {New ParticipantCredentialsModel() With { 
		 .ParticipantID = 1234567890, 
		 .Password = "p@ssword123", 
		 .Username = "johnsmith" 
	}} 
}
Dim results = serviceClient.GetParticipantEncryptedCredentials(sa, model)
If Not results.IsSuccessful Then
    'do work...
Else
    'handle error
End If
See Also
All Operations Resource GroupPronto v5 Web Services