user

Contains some helpers to get information about the user.

Since: 3.0.0
Example

// Get the id of the user.
var userId = lando.user.getEngineUserId();

// Get the group id of the user.
var groupId = lando.user.getEngineUserGid();

user.getEngineUserId() ⇒ String

Returns the id of the user.

Note that on Windows this value is more or less worthless.

Kind: static method of user
Returns: String - The user ID.
Since: 3.0.0
Example

// Get the id of the user.
var userId = lando.user.getEngineUserId();

user.getEngineUserGid() ⇒ String

Returns the group id of the user.

Note that on Windows this value is more or less worthless.

Kind: static method of user
Returns: String - The group ID.
Since: 3.0.0
Example

// Get the id of the user.
var groupId = lando.user.getEngineUserGid();

results matching ""

    No results matching ""