Versions Compared

Key

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

Syntax

usersInSpacePermission(spaceKey, permissionType)

Package

Alias

Pkg Usage

Description

Excerpt
hiddentrue

Returns users that correspond to a certain permission in the specified space.

Returns users that correspond to a certain permission in the specified space.

...

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

Parameter name

Type

Required

Description

spaceKey

String

Yes

Key of the space to investigate.

permissionType

String

Yes

Valid space permission type to search for.

Return Type

String []

Example

Code Block
languagejs
string[] users = usersInSpacePermission("PP", "EDITSPACE");

See also

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