For the complete documentation index, see llms.txt. This page is also available as Markdown.

Enterprise User Commands

Manages individual enterprise users when used by enterprise admin.

Operations:

  • User operations like add, edit, view, delete

  • Actions like lock, unlock, extends, expire

  • Set user aliases and nodes.

Usage

enterprise-user --command [--options] OR eu command [--options]

Alias: eu

Commands

Command
Description

View enterprise user

Create enterprise user(s)

Edit enterprise user(s)

Delete enterprise user(s)

Enterprise user actions

Manage user aliases

Enterprise User View Command

This command can be used to view an enterprise user's details

DotNet CLI

Command: enterprise-user view

Parameter : --team Email OR UID

Alias: eu vie

Example:

My Vault> eu view john.doe@company.com

 User Email:  john.doe@company.com
  User Name:  John Doe
    User ID:  894448414228492
     Status:  Active
      Teams:  Engineering Team
              DevOps Team
       Node:  Engineering

My Vault> enterprise-user view 894448414228492

 User Email:  john.doe@company.com
  User Name:  John Doe
    User ID:  894448414228492
     Status:  Active
      Teams:  Engineering Team
              DevOps Team
       Node:  Engineering 
DotNet SDK

Functions:

EnterpriseData.GetTeamsForUser

EnterpriseData.TryGetTeam

EnterpriseData.TryGetTeam

The following functions together will give all data related to user from enterprise perspective

PowerCommander

Command: Get-KeeperEnterpriseUser

Syntax:

Aliases: keu

Parameters:

  • -Email - User email.

  • -Filter - Search filter.

  • -Format - Output format.

  • -Output - Output file name.

Example:

Python CLI

Command: enterprise-user --view

Parameter:

email - User email. Can be repeated. (required)

Flag:

  • -v, --verbose - Print verbose information

  • -h, --help show this help message and exit

  • --format - format of output: {table,json}

  • --output - path to resulting output file (ignored for "table" format)

Example:

Python SDK

Function:

Enterprise User Add Command

Create enterprise user(s).

DotNet CLI

Command: enterprise-user invite

Alias: eu invite

Parameter:

Parameter
Description

email

email of the user to add

Example:

DotNet SDK

Function: InviteUser(string email, [InviteUserOptions options = null])

Arguments:

Argument
Type
Required
Description

email

string

Yes

Email address of the user to invite

options

InviteUserOptions

No

Invitation options (default: null)

Returns:

Task<EnterpriseUser> - A task returning the created EnterpriseUser object

InviteUserOptions Properties:

Property
Type
Description

FullName

string

User's full name

NodeId

long

Node ID where user will be assigned

TeamIds

IEnumerable

List of team IDs to add user to

Example:

PowerCommander

Command: Add-KeeperEnterpriseUser

Parameters:

Parameter
Description

Email

Email address to invite.

Flags:

Flag
Description

-FullName

Full name of the user

-Node

Node name or ID where the user will be assigned

-NodeId

Node ID as a long integer (alternative to -Node)

-Emails

Extra email addresses to invite (for batch invitations)

Example:

Python CLI

Command: enterprise-user --add

Parameter:

email - User email. Can be repeated. (required)

Flag:

  • -h, --help show this help message and exit

  • --parent - Parent node name or ID

  • --name - Set user full name

  • --job-title - Set user job title

Example:

Python SDK

Function:

Enterprise User Edit Command

Edit enterprise user details like adding and removing roles and teams.

DotNet CLI

DotNet CLI supports team-add and team-remove functionalities

Team-add:

Command: enterprise-user team-add

Alias: eu team-add

Parameters:

Parameter
Description

email

Email address of the user to add to team

--team

Name or UID of the team.

Flags:

Flag
Description

--teamname

Alternative flag for team name

--help

Display help screen

--version

Display version information

Example:

Team-remove:

Command: enterprise-user team-remove

Alias: eu team-remove

Parameters:

Parameter
Description

email

Email address of the user to remove from team.

--team

Name or UID of the team.

Flags:

Flag
Description

--teamname

Alternative flag for team name

--help

Display help screen

--version

Display version information

Example:

DotNet SDK

AddUsersToTeams:

Add one or more active users to one or more teams programmatically using the .NET SDK. This method works only for users with "Active" status. For non-active users (Invited, Locked), use QueueUserToTeam instead.

Function:

Arguments:

Argument
Type
Required
Description

emails

string[]

Yes

Array of user email addresses to add to teams

teamUids

string[]

Yes

Array of team UIDs to add users to

warnings

Action

No

Optional callback to receive warning messages (default: null)

Returns:

Task - A task that completes when all users are added to all teams

Example:

QueueUserToTeam:

Queue a non-active user (Invited or Locked status) to be added to a team. The user will be added to the team automatically when their account becomes active. Use this for users who haven't accepted their invitation yet or whose accounts are locked.

Function:

Arguments:

Argument
Type
Required
Description

enterpriseUserId

long

Yes

Enterprise user ID of the non-active user

teamUid

string

Yes

UID of the team to queue the user for

Returns:

Task - A task that completes when the user is queued for the team

Example:

RemoveUsersFromTeams:

Remove one or more users from one or more teams programmatically using the .NET SDK. This operation removes team membership but does not delete user accounts or affect other teams the users belong to.

Function:

Arguments:

Argument
Type
Required
Description

emails

string[]

Yes

Array of user email addresses to remove from teams

teamUids

string[]

Yes

Array of team UIDs to remove users from

warnings

Action

No

Optional callback to receive warning messages (default: null)

Returns:

Task - A task that completes when all users are removed from all teams

Example:

PowerCommander
Python CLI

Command: enterprise-user --edit

Parameter:

email - User email or UID. Can be repeated. (required)

Flag:

  • -h, --help show this help message and exit

  • --parent - Parent node name or UID

  • --name - Set user full name

  • --job-title - Set user job title

  • --add-role - Role name or role ID.

  • --remove-role - Role name or role ID.

  • --add-team - Team name or team UID.

  • --remove-team - Team name or team UID.

  • -hsf, --hide-shared-folders - User does not see shared folders. --add-team

    • only: {on,off}

Example:

Python SDK

Function:

Enterprise User Delete Command

Delete users from enterprise.

DotNet CLI

Command: enterprise-user delete <email>

Alias :eu delete <email>

Parameter:

email Email ID (required)

Options:

  • --yes - Skip confirmation prompt (for delete)

Example:

DotNet SDK

Function: DeleteUser

PowerCommander

Command: Remove-KeeperEnterpriseUser OR delete-user

Parameters:

  • -User - User email (required)

  • -Force - Skip confirmation

Example:

Python CLI

Command: enterprise-user --delete

Parameter:

email - User email or UID. Can be repeated. (required)

Flag:

  • -h, --help show this help message and exit

  • -f, --force - Do not prompt for confirmation

Example:

Python SDK

Function:

Enterprise User Action Command

Enterprise user actions like lock, unlocking and moving can be performed using this command.

DotNet CLI

Command: enterprise-user <action> user_email

Examples:

Lock User:

Unlock User:

DotNet SDK

Function: SetUserLocked

if locked is set to true, then user will be locked, else user will unlock.

Example:

PowerCommander

Command: Lock-KeeperEnterpriseUser or Unlock-KeeperEnterpriseUser

Aliases: lock-user, unlock-user

Parameter: -User -User email

Python CLI

Command: enterprise-user --action

Parameter:

email - User email or ID. (required)

Flag:

  • -h, --help - Show this help message and exit

  • --expire - Expire master password

  • --extend - Extend vault transfer consent by 7 days. Supports the following pseudo users: @all

  • --lock - Lock user

  • --unlock - Unlock user

  • --disable-2fa - Disable 2fa for user

Example:

Python SDK

Function:

Enterprise User Alias Command

Manage user aliases by either adding or removing aliases.

DotNet CLI

Command: enterprise-user <action> username --alias="<alias>" OR eu <action> username --alias="<alias>"

Parameter:

email - User email or ID.

Examples:

Add-Alias:

Alias-Remove:

DotNet SDK

Function: Coming Soon

PowerCommander

Command: Coming Soon

Python CLI

Command: enterprise-user alias

Parameter:

email - User email or ID (required)

Flag:

  • --add-alias - Adds user alias

  • --remove-alias - Removes user alias

Python SDK

Function:

Enterprise User Resend Invite Command

This command/function helps to resend invite to an inactive user.

DotNet CLI

Command: enterprise-user <action> username OR eu <action> username

Parameter:

email - User email or ID.

Examples:

DotNet SDK

Enterprise User Resend Invite:

Function: ResendEnterpriseInvite

Usage:

Parameters:

Description

enterpriseUser

EnterpriseUser object representing the user

Example:

PowerCommander

Command: Invoke-ResendKeeperEnterpriseInvite

Parameters

Parameter
Type
Description

-User

string or long

User email address or enterprise user ID (numeric).

Examples

Resend invite by email

Resend invite by user ID

Positional usage

Output

Python CLI

Comming Soon

Python SDK

Comming Soon

Enterprise User Set Master Password Expire Command

This command/function sets the master password expiration and forces the user to set a new password.

DotNet CLI

Command: enterprise-user <action> username OR eu <action> username

Parameter:

email - User email or ID.

Examples:

Reference:

Commander Reference

DotNet SDK

Enterprise User Set Master Password Expire:

Function: SetMasterPasswordExpire

Usage:

Parameters:

Description

email

Give user email

Example:

Reference:

Commander Reference

PowerCommander

Command: Set-KeeperEnterpriseUserMasterPasswordExpire

Flags:

Parameter
Description

User

User whose password needs to be expired.

Example:

Reference:

Commander Reference

Python CLI

Comming Soon

Reference:

Commander Reference

Python SDK

Comming Soon

Reference:

Commander Reference

Update Team Enterprise User Command

DotNet CLI

Command: enterprise-user <action> username --team=<team_name> --user-type=<user_type>

Parameter:

email - User email or ID.

team - Team name or ID

user-type - 0=user, 1=admin, 2=admin_only (means he wont see the shared folders but can add users to the team)

Examples:

Reference:

Commander Reference

DotNet SDK

Enterprise Team User Update:

Function: TeamEnterpriseUserUpdate

Usage:

Parameters:

Description

enterpriseTeam

EnterpriseTeam object representing the team

enterpriseUser

EnterpriseUser object representing the user

userType

0=user, 1=admin, 2=admin_only (means he wont see the shared folders but can add users to the team)

Example:

Reference:

Commander Reference

PowerCommander

Command: Update-KeeperEnterpriseTeamUser

Flags:

Parameter
Description

User

Updates enterprise user information.

Team

Team name or UID

UserType

User type: 0, 1, or 2 0 - User (Normal User) 1 - Administrator 2 - Administrator Only

Example:

Python CLI

Comming Soon

Reference:

Commander Reference

Python SDK

Comming Soon

Reference:

Commander Reference

Enterprise User Update Command

This command/function is used to update the user like display name, job title

DotNet CLI

Command: enterprise-user <action> username --node=<node_name> --name=<display_name> --job-title=<title> --invitee-locale=<location_name>

Parameter:

email - User email or ID.

node - New node name or ID.

name - New user display name.

job-title - New job title.

invitee-locale - New location.

Examples:

DotNet SDK

Enterprise User Update:

Function: EnterpriseUserUpdate

Usage:

Parameters:

Description

enterpriseUser

EnterpriseUser object representing the user

nodeId

Enter Node Id or name

fullName

Enter display name

jobTitle

Enter job title name

inviteeLocale

one of the 21 locales that we support. Default is en_US.

Example:

PowerCommander

Command: Update-KeeperEnterpriseUser

Flags:

Parameter
Required
Description

User

True

Updates enterprise user information.

Node

False

Node name or ID

FullName

False

User's full name

JobTitle

False

User's job title

InviteeLocale

False

User's locale for invitations

Example:

Python CLI

Comming Soon

Python SDK

Comming Soon

Last updated