GET api/v2/users/{UserId}/externalauthenticationlink/{ProviderId}.{json|xml}
Scopes
Users › Read External Authentication Links users.externalauthenticationlinks.readonly
Request Parameters
| Name | Type | Location | Description | Required | Default | Options |
|---|---|---|---|---|---|---|
| ProviderId | string | Path | Id of the External Authentication Provider | Required | ||
| UserId | int | Path | Id of the User | Required |
Example Requests
Widget Javascript
jQuery.telligent.evolution.get({
url: jQuery.telligent.evolution.site.getBaseUrl() + 'api/v2/users/{UserId}/externalauthenticationlink/{ProviderId}.json',
data: {
'UserId': '6',
'ProviderId': 'providerid'
}
}).then(function(response) {
// use response
});Example Responses
JSON
{
"ExternalAuthenticationLink": {"UserId":6,"ProviderId":"providerid","ExternalUserId":"externaluserid","Warnings":[],"Errors":[]},
"Errors": ["string","string"]
}XML
<?xml version="1.0" encoding="utf-16"?>
<Response>
<ExternalAuthenticationLink>
<UserId>6</UserId>
<ProviderId>providerid</ProviderId>
<ExternalUserId>externaluserid</ExternalUserId>
</ExternalAuthenticationLink>
<Errors>
<Message>string</Message>
<Message>string</Message>
</Errors>
</Response>