...
Table plus |
---|
applyColStyleToCell | true |
---|
columnTypes | s,s,s,s |
---|
heading | 0 |
---|
multiple | false |
---|
columnAttributes | style="background:#e5e7ea;font-weight:bold,,style="background:#e5e7ea;font-weight:bold, |
---|
enableSorting | false |
---|
|
Syntax | userHasAccessToComment(userNameOrKey, commentId) | Package | | Alias | | Pkg Usage | |
|
Excerpt |
Verifies if |
---|
|
Verifies whether a comment is visible for a user. |
Verifies whether a comment is visible for
...
a user.
Table plus |
---|
applyColStyleToCell | true |
---|
columnTypes | s,s,s,s |
---|
heading | 0 |
---|
multiple | false |
---|
enableSorting | false |
---|
|
Parameter name | Type | Required | Description |
---|
userNameOrKey |
|
...
String | Yes | User name or key of a user to check access for |
|
...
...
Number | Yes | Id of the comment to verify access to |
|
...
...
boolean Boolean (true/false)
Returns true if the specified user has access to the specified comment. Returns false otherwise.
...
Code Block |
---|
|
userHasAccessToComment("jdoe", 651); |
Checks if user "jdoe" has access to comment with id 651.
Filter by label (Content by label) |
---|
showLabels | false |
---|
max | 25 |
---|
showSpace | false |
---|
cql | label = " |
---|
|
...
...
routines" and space = currentSpace ( ) | labels |
---|
|
...
...