Home Manual Reference Source
public class | source

TeamUsers

Extends:

API → TeamUsers

Method Summary

Public Methods
public

Disable an account in the team.

since v2.0.0-beta.13
public

Retrieves a list of all disabled ("deactivated") users in your team.

since v2.0.0-beta.13
public

enable(email: string): Promise

Enable a previously disabled account in the team.

since v2.0.0-beta.13
public

Retrieves a list of all enabled ("active") users in your team.

since v2.0.0-beta.13

Inherited Summary

From class API
public

Public Methods

public disable(email: string): Promise since v2.0.0-beta.13 source

Disable an account in the team.

Params:

NameTypeAttributeDescription
email string

The user's email address

Return:

Promise

public disabled(): Promise<User> since v2.0.0-beta.13 source

Retrieves a list of all disabled ("deactivated") users in your team.

Return:

Promise<User>

public enable(email: string): Promise since v2.0.0-beta.13 source

Enable a previously disabled account in the team.

Params:

NameTypeAttributeDescription
email string

The disabled user's email address

Return:

Promise

public enabled(): Promise<User> since v2.0.0-beta.13 source

Retrieves a list of all enabled ("active") users in your team.

Return:

Promise<User>