Team Commands

This Page provides documentation for Team related commands supported by keeper SDKs

Overview

The purpose of creating teams is to give users the ability to share the records and folders within their vaults with logical groupings of individuals. The administrator simply creates the teams, sets any Team Restrictions (edit/viewing/sharing of passwords) and adds individual users to the team. Users can be added to teams either manually or using several different automated methods.

Teams can also be used to easily assign Roles to entire groups of users to ensure the consistency of enforcement policies across a collective group of individuals. More details here.

Commands related to teams are

Commands

List Team Command

This command displays the list of UID and Name for each Team that logged in user has access to.

DotNet CLI

Command: list-team

Description: Display a list of teams available in your Keeper vault.

Parameters:

No required parameters

Options:

Option
Description

-v, --verbose

Include team membership information in the output

--very-verbose

Fetch detailed team membership information not in cache (more comprehensive than --verbose)

-a, --all

Show all teams in your contacts, including those outside your primary organization

--sort

Sort teams by column: company, team_uid, or name (default: company)

Examples:

My Vault> list-team
Found 1 team(s).

     Company          Team UID                      Name
---  ---------------  ----------------------------  ------------------
  1  Acme Corp        AbCdEfGhIjKlMnOpQrStUvWxYz     Engineering Team
My Vault> list-team --verbose
Found 2 team(s).

     Company          Team UID                      Name              Members
---  ---------------  ----------------------------  ----------------  ---------------------
  1  Acme Corp        AbCdEfGhIjKlMnOpQrStUvWxYz     Engineering Team  [email protected]
                                                                       [email protected]
  2  Acme Corp        BcDeFgHiJkLmNoPqRsTuVwXyZa     Marketing Team
DotNet SDK

Function:

Task<List<TeamListItem>> GetTeamList(TeamListOptions options = null, Action<Severity, string> logger = null);

Arguments:

Argument
Type
Required
Description

options

TeamListOptions

No

Configuration options for team list generation (default: null = default options)

logger

Action<Severity, string>

No

Callback for logging messages during operation (default: null)

TeamListOptions Properties:

Property
Type
Default
Description

Verbose

bool

false

Show team membership information

VeryVerbose

bool

false

Fetch team membership info not in cache

ShowAllTeams

bool

false

Show all teams including those outside primary organization

SortBy

string

"company"

Sort column: "company", "team_uid", or "name"

Returns:

Task<List<TeamListItem>> - A task returning a list of TeamListItem objects

TeamListItem Properties:

Property
Type
Description

TeamUid

string

Unique identifier for the team

Name

string

Team display name

Company

string

Enterprise/organization name

Members

List<string>

List of team member email addresses (populated only in verbose mode)

Example Usage:

var teams = await vault.GetTeamList();
foreach (var team in teams)
{
    Console.WriteLine($"{team.Company} - {team.Name}");
}
Power Commander

Command : Coming Soon

Python CLI

Command : list-team

Parameters:

  • --format Output format - Table, csv or json

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

  • --sort Sort teams by column company, uid, name (default: company)

Flags:

  • -v, --verbose Verbose output (include team membership info)

  • -vv, --very-verbose Fetches team membership info not in cache

  • -a, --all show All teams in your contacts (including those outside your primary

organization)

Example:

Python SDK

Function: load_available_teams

Last updated

Was this helpful?