TeamCity 2020.2 Help

User

Represents a user.

Related Help article: User Account

Properties

FieldData type

username

string

name

string

id

long

email

string

lastLogin

string

password

string

hasPassword

boolean

realm

string

href

string

properties

Properties

roles

Roles

groups

Groups

locator

string

Schema

Below, you can find a full schema of this object, in XML and JSON formats. You can choose what fields to submit depending on your current needs. Different methods might expect different fields: the best approach is to request this entity via GET and use the response as a base for the following POST request.

A link to another object implies that you can substitute it with the schema of the linked object, if it is required for your call.

<user email="string" hasPassword="true" href="string" id="123456789" lastLogin="string" locator="string" name="string" password="string" realm="string" username="string"> <properties count="123" href="string"> <property>[[[property...|property.html]]]</property> </properties> <roles> <role>[[[role...|role.html]]]</role> </roles> <groups count="123"> <group>[[[group...|group.html]]]</group> </groups> </user>
{ "lastLogin" : "lastLogin", "roles" : { "role" : [ "[[[role...|role.html]]]" ] }, "groups" : { "count" : 4, "group" : [ "[[[group...|group.html]]]" ] }, "hasPassword" : true, "password" : "password", "name" : "name", "realm" : "realm", "id" : 8, "href" : "href", "locator" : "locator", "email" : "email", "properties" : { "count" : 7, "property" : [ "[[[property...|property.html]]]" ], "href" : "href" }, "username" : "username" }
Last modified: 09 March 2021