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": "abc65b5d-d53d-4039-8d9e-0d3ef36b9e21",
"ClubId": "013ea434-a29e-4ee2-a8b9-7b7bbce093b2",
"FriendlyName": "sample string 3",
"NotificationEmail": "sample string 4",
"PersonId": "20764d8c-6e7b-4ce1-8a5d-43edfa71928c",
"Remarks": "sample string 5",
"UserName": "sample string 6",
"UserRoleIds": [
"1722dfa4-926e-4d76-a9b7-e4bf8b2b095c",
"0207698e-6d5c-4aa4-b18e-b64df64d3441"
],
"AccountState": 7,
"LastPasswordChangeOn": "2025-11-06T18:22:57.3016748+01:00",
"ForcePasswordChangeNextLogon": true,
"EmailConfirmed": true,
"LanguageId": 10,
"Id": "abc65b5d-d53d-4039-8d9e-0d3ef36b9e21",
"CanUpdateRecord": true,
"CanDeleteRecord": true
}
text/html
Sample:
{"UserId":"abc65b5d-d53d-4039-8d9e-0d3ef36b9e21","ClubId":"013ea434-a29e-4ee2-a8b9-7b7bbce093b2","FriendlyName":"sample string 3","NotificationEmail":"sample string 4","PersonId":"20764d8c-6e7b-4ce1-8a5d-43edfa71928c","Remarks":"sample string 5","UserName":"sample string 6","UserRoleIds":["1722dfa4-926e-4d76-a9b7-e4bf8b2b095c","0207698e-6d5c-4aa4-b18e-b64df64d3441"],"AccountState":7,"LastPasswordChangeOn":"2025-11-06T18:22:57.3016748+01:00","ForcePasswordChangeNextLogon":true,"EmailConfirmed":true,"LanguageId":10,"Id":"abc65b5d-d53d-4039-8d9e-0d3ef36b9e21","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">abc65b5d-d53d-4039-8d9e-0d3ef36b9e21</Id>
<AccountState>7</AccountState>
<ClubId>013ea434-a29e-4ee2-a8b9-7b7bbce093b2</ClubId>
<EmailConfirmed>true</EmailConfirmed>
<ForcePasswordChangeNextLogon>true</ForcePasswordChangeNextLogon>
<FriendlyName>sample string 3</FriendlyName>
<LanguageId>10</LanguageId>
<LastPasswordChangeOn>2025-11-06T18:22:57.3016748+01:00</LastPasswordChangeOn>
<NotificationEmail>sample string 4</NotificationEmail>
<PersonId>20764d8c-6e7b-4ce1-8a5d-43edfa71928c</PersonId>
<Remarks>sample string 5</Remarks>
<UserId>abc65b5d-d53d-4039-8d9e-0d3ef36b9e21</UserId>
<UserName>sample string 6</UserName>
<UserRoleIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>1722dfa4-926e-4d76-a9b7-e4bf8b2b095c</d2p1:guid>
<d2p1:guid>0207698e-6d5c-4aa4-b18e-b64df64d3441</d2p1:guid>
</UserRoleIds>
</UserDetails>