GetUserByUsername
Returns – A UserResponse containing a User Object in the Users array. (See RequestResponse in Appendix B)
Parameters
Name | Type | Description |
---|---|---|
encryptedToken | string | Required. Encrypted Token returned from client authentication. Returns null if token has expired or is invalid. |
username | string | Required. The email address of the requested user. |
Example – C#
[gdlr_notification icon=”none” type=”color-border” border=”#31BEF9″ color=”#000000″]ServiceAPIClient ws = new ServiceAPIClient();
UserResponse userResponse;
userResponse = ws.GetUserByUsername(encryptedToken, “username”);
[/gdlr_notification]