Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table plus
applyColStyleToCelltrue
heading0
columnTypess,s,s,s
multiplefalse
columnAttributesstyle="background:#e5e7ea;font-weight:bold,,style="background:#e5e7ea;font-weight:bold,
enableSortingfalse

Syntax

getUserOrganizations(userAccountId)

Package

Alias

Pkg Usage

Description

Excerpt
hiddentrue
Gets organizations names in which the user is present.

Gets organizations names in which the user is present.

Parameters

Table plus
applyColStyleToCelltrue
columnTypess,s,s,s
heading0
multiplefalse
enableSortingfalse

Parameter name

Type

Required

Description

userAccountId

string

Yes

The account id of the user for which we'll retrieve the organizations.

Return Type

String []

Returns all the organizations names in which the user is present.

Example

Example 1

Code Block
languagejs
return getUserOrganizations(currentUser());

See also

Filter by label (Content by label)
showLabelsfalse
max25
showSpacefalse
cqllabel = "jsd_routine" and space = currentSpace ( )
labelsarray_routines