lando.user.getUid() ⇒ String

Returns the id of the current user or username.

Note that on Windows this value is more or less worthless and username has has no effect

Since: 3.0.0
Returns: String - The user ID.
Example

// Get the id of the user.
const userId = lando.user.getUid();

lando.user.getGid() ⇒ String

Returns the gid of the current user or username.

Note that on Windows this value is more or less worthless and username has has no effect

Since: 3.0.0
Returns: String - The group ID.
Example

// Get the id of the user.
const groupId = lando.user.getGid();

lando.user.getGid() ⇒ String

Returns the username of the current user

Note that on Windows this value is more or less worthless and username has has no effect

Since: 3.0.0
Returns: String - The group ID.
Example

// Get the id of the user.
const groupId = lando.user.getGid();

results matching ""

    No results matching ""