GetCurrentUserResult

data class GetCurrentUserResult(val bot: Boolean, val globalId: String, val globalNamespaceId: String, val groupCount: Int, val id: String, val name: String, val namespaceId: String, val publicEmail: String, val username: String)

A collection of values returned by getCurrentUser.

Constructors

Link copied to clipboard
constructor(bot: Boolean, globalId: String, globalNamespaceId: String, groupCount: Int, id: String, name: String, namespaceId: String, publicEmail: String, username: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Indicates if the user is a bot.

Link copied to clipboard

Global ID of the user. This is in the form of a GraphQL globally unique ID.

Link copied to clipboard

Personal namespace of the user. This is in the form of a GraphQL globally unique ID.

Link copied to clipboard

Group count for the user.

Link copied to clipboard
val id: String

ID of the user.

Link copied to clipboard

Human-readable name of the user. Returns **** if the user is a project bot and the requester does not have permission to view the project.

Link copied to clipboard

Personal namespace of the user.

Link copied to clipboard

User’s public email.

Link copied to clipboard

Username of the user. Unique within this instance of GitLab.