TeamPermission

The TeamPermission object represents a permission that a user has within a team. Currently, it contains only an id to specify the permission.

You can get TeamPermission objects by calling functions such as user.getPermission(...) or user.listPermissions().

Table of Contents

1type TeamPermission = {
2 id: string; //$stack-link-to:#teampermissionid
3};

teamPermission.id

The identifier of the permission as a string.

Type Definition

1declare const id: string;