GET api/v1/users/name/{username}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| username | string |
Required |
Body Parameters
None.
Response Information
Resource Description
UserDetails| Name | Description | Type | Additional information |
|---|---|---|---|
| UserId | globally unique identifier |
None. |
|
| ClubId | globally unique identifier |
Required |
|
| FriendlyName | string |
Required String length: inclusive between 0 and 100 |
|
| NotificationEmail | string |
Required String length: inclusive between 0 and 256 |
|
| PersonId | globally unique identifier |
None. |
|
| Remarks | string |
None. |
|
| UserName | string |
Required String length: inclusive between 0 and 256 |
|
| UserRoleIds | Collection of globally unique identifier |
None. |
|
| AccountState | integer |
None. |
|
| LastPasswordChangeOn | date |
None. |
|
| ForcePasswordChangeNextLogon | boolean |
None. |
|
| EmailConfirmed | boolean |
None. |
|
| LanguageId | integer |
None. |
|
| Id | globally unique identifier |
None. |
|
| CanUpdateRecord | boolean |
None. |
|
| CanDeleteRecord | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{
"UserId": "a3c01f96-6ceb-4062-83b8-d7d65ae02b79",
"ClubId": "6f28a3b0-fc8c-4340-8d44-be59c35502e4",
"FriendlyName": "sample string 3",
"NotificationEmail": "sample string 4",
"PersonId": "5ba631e3-14ef-490b-9f34-a25da86b5315",
"Remarks": "sample string 5",
"UserName": "sample string 6",
"UserRoleIds": [
"c4a74a66-8c6a-421e-a85f-db8064fe75a0",
"4c356dbb-b1b2-46ae-97fa-1e0f40fd0e6c"
],
"AccountState": 7,
"LastPasswordChangeOn": "2026-02-15T02:38:21.8492672+01:00",
"ForcePasswordChangeNextLogon": true,
"EmailConfirmed": true,
"LanguageId": 10,
"Id": "a3c01f96-6ceb-4062-83b8-d7d65ae02b79",
"CanUpdateRecord": true,
"CanDeleteRecord": true
}
text/html
Sample:
{"UserId":"a3c01f96-6ceb-4062-83b8-d7d65ae02b79","ClubId":"6f28a3b0-fc8c-4340-8d44-be59c35502e4","FriendlyName":"sample string 3","NotificationEmail":"sample string 4","PersonId":"5ba631e3-14ef-490b-9f34-a25da86b5315","Remarks":"sample string 5","UserName":"sample string 6","UserRoleIds":["c4a74a66-8c6a-421e-a85f-db8064fe75a0","4c356dbb-b1b2-46ae-97fa-1e0f40fd0e6c"],"AccountState":7,"LastPasswordChangeOn":"2026-02-15T02:38:21.8492672+01:00","ForcePasswordChangeNextLogon":true,"EmailConfirmed":true,"LanguageId":10,"Id":"a3c01f96-6ceb-4062-83b8-d7d65ae02b79","CanUpdateRecord":true,"CanDeleteRecord":true}
application/xml, text/xml
Sample:
<UserDetails xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FLS.Data.WebApi.User">
<CanDeleteRecord xmlns="http://schemas.datacontract.org/2004/07/FLS.Data.WebApi">true</CanDeleteRecord>
<CanUpdateRecord xmlns="http://schemas.datacontract.org/2004/07/FLS.Data.WebApi">true</CanUpdateRecord>
<Id xmlns="http://schemas.datacontract.org/2004/07/FLS.Data.WebApi">a3c01f96-6ceb-4062-83b8-d7d65ae02b79</Id>
<AccountState>7</AccountState>
<ClubId>6f28a3b0-fc8c-4340-8d44-be59c35502e4</ClubId>
<EmailConfirmed>true</EmailConfirmed>
<ForcePasswordChangeNextLogon>true</ForcePasswordChangeNextLogon>
<FriendlyName>sample string 3</FriendlyName>
<LanguageId>10</LanguageId>
<LastPasswordChangeOn>2026-02-15T02:38:21.8492672+01:00</LastPasswordChangeOn>
<NotificationEmail>sample string 4</NotificationEmail>
<PersonId>5ba631e3-14ef-490b-9f34-a25da86b5315</PersonId>
<Remarks>sample string 5</Remarks>
<UserId>a3c01f96-6ceb-4062-83b8-d7d65ae02b79</UserId>
<UserName>sample string 6</UserName>
<UserRoleIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>c4a74a66-8c6a-421e-a85f-db8064fe75a0</d2p1:guid>
<d2p1:guid>4c356dbb-b1b2-46ae-97fa-1e0f40fd0e6c</d2p1:guid>
</UserRoleIds>
</UserDetails>