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:
-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 TeamMy 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 TeamDotNet SDK
Function:
Task<List<TeamListItem>> GetTeamList(TeamListOptions options = null, Action<Severity, string> logger = null);Arguments:
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:
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:
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}");
}Python CLI
Command : list-team
Parameters:
--formatOutput format - Table, csv or json--outputPath to resulting output file (ignored for "table" format)--sortSort teams by column company, uid, name (default: company)
Flags:
-v,--verboseVerbose output (include team membership info)-vv,--very-verboseFetches team membership info not in cache-a,--all showAll teams in your contacts (including those outside your primary
organization)
Example:
Last updated
Was this helpful?

