getUserCreatableTeams

Function

Return array of group templates that the current user has licensing and privs to create in the current environment (AGO vs Portal)

  • getUserCreatableTeams(user: IUser, environment: HubProduct, portalApiVersion: string, subscriptionInfoType: string) : IGroupTemplate[]

Parameters

Parameter Type Default Notes
user Required IUser
environment Required HubProduct
portalApiVersion Required string
subscriptionInfoType Optional string ""

Returns


Function defined in packages/teams/src/utils/get-user-creatable-teams.ts:18