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

userHasAccessToComment(userNameOrKey, commentId)

Package

Alias

Pkg Usage

Description

Excerpt
hiddentrue

Verifies whether a comment is visible for a user.

Verifies whether a comment is visible for a user.

...

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

Parameter name

Type

Required

Description

userNameOrKey

String

Yes

User name or key of a user to check access for

commentId

Number

Yes

Id of the comment to verify access to

Return Type

Boolean (true/false)

...

Code Block
languagejs
userHasAccessToComment("jdoe", 651);

See also

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