POST api.ashx/v2/users/validate.{json|xml}
GET if a user's username/password are valid. Uses POST instead of GET. Use SSL.
Scopes
Users › Modify User users.users.modify
Request Parameters
Name | Type | Location | Description | Required | Default | Options |
---|---|---|---|---|---|---|
Password | string | Password | Required | |||
Username | string | Username | Required |
Example Requests
Widget Javascript
jQuery.telligent.evolution.post({ url: jQuery.telligent.evolution.site.getBaseUrl() + 'api.ashx/v2/users/validate.json', data: { 'Password': 'password', 'Username': 'username' } }).then(function(response) { // use response });
Example Responses
JSON
{ "Valid": true, "Info": [ "string", "string" ], "Warnings": [ "string", "string" ], "Errors": [ "string", "string" ] }
XML
<?xml version="1.0" encoding="utf-16"?> <Response> <Info> <Message>string</Message> <Message>string</Message> </Info> <Warnings> <Message>string</Message> <Message>string</Message> </Warnings> <Errors> <Message>string</Message> <Message>string</Message> </Errors> <Valid>true</Valid> </Response>