Logo DataHubClient

User Type

A DataHub user, as returned embedded in issues, merge requests, notes, and commits. See the .

Constructors

Constructor Description

User(id, username, name, state, webUrl, ?avatarUrl, ?email)

Full Usage: User(id, username, name, state, webUrl, ?avatarUrl, ?email)

Parameters:
    id : int
    username : string
    name : string
    state : string
    webUrl : string
    ?avatarUrl : string
    ?email : string

Returns: User
id : int
username : string
name : string
state : string
webUrl : string
?avatarUrl : string
?email : string
Returns: User

Instance members

Instance member Description

this.AvatarUrl

Full Usage: this.AvatarUrl

Returns: string option

The URL of the user's avatar image, or None if none is set.

Returns: string option

this.Email

Full Usage: this.Email

Returns: string option

The user's primary email address, or None. Only populated for the user the credential authenticates as; embedded users never carry it.

Returns: string option

this.Id

Full Usage: this.Id

Returns: int

The user's unique, instance-wide numeric identifier.

Returns: int

this.Name

Full Usage: this.Name

Returns: string

The user's display name.

Returns: string

this.State

Full Usage: this.State

Returns: string

The account state (e.g. active, blocked).

Returns: string

this.Username

Full Usage: this.Username

Returns: string

The user's login handle.

Returns: string

this.WebUrl

Full Usage: this.WebUrl

Returns: string

The URL of the user's profile page.

Returns: string

Type something to start searching.