GET v1/LocalUsers

User roles allowed to make this request: DomainAdministrator LocalDomainManager

Permissions required to make this request: User.Read

Returns a list of all local users.

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Response Message

Collection of LocalUserResponseV1Model
NameDescriptionTypeAdditional information
Id

Unique Id of user

string

None.

UserName

User name

string

None.

LastLogonDate

Last date the user entered the Nfield system

date

None.

FirstName

First name of user

string

None.

LastName

Last name of user

string

None.

Email

Email of the user

string

None.

UserRole

Role of the user

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": "sample string 1",
    "UserName": "sample string 2",
    "LastLogonDate": "2024-06-16T08:28:45.1816787+00:00",
    "FirstName": "sample string 3",
    "LastName": "sample string 4",
    "Email": "sample string 5",
    "UserRole": "sample string 6"
  },
  {
    "Id": "sample string 1",
    "UserName": "sample string 2",
    "LastLogonDate": "2024-06-16T08:28:45.1816787+00:00",
    "FirstName": "sample string 3",
    "LastName": "sample string 4",
    "Email": "sample string 5",
    "UserRole": "sample string 6"
  }
]

application/xml, text/xml

Sample:
<ArrayOfLocalUserResponseV1Model xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NipoSoftware.Nfield.Manager.Api.Models">
  <LocalUserResponseV1Model>
    <Email>sample string 5</Email>
    <FirstName>sample string 3</FirstName>
    <LastName>sample string 4</LastName>
    <UserRole>sample string 6</UserRole>
    <Id>sample string 1</Id>
    <LastLogonDate>2024-06-16T08:28:45.1816787+00:00</LastLogonDate>
    <UserName>sample string 2</UserName>
  </LocalUserResponseV1Model>
  <LocalUserResponseV1Model>
    <Email>sample string 5</Email>
    <FirstName>sample string 3</FirstName>
    <LastName>sample string 4</LastName>
    <UserRole>sample string 6</UserRole>
    <Id>sample string 1</Id>
    <LastLogonDate>2024-06-16T08:28:45.1816787+00:00</LastLogonDate>
    <UserName>sample string 2</UserName>
  </LocalUserResponseV1Model>
</ArrayOfLocalUserResponseV1Model>