Info |
---|
|
- This routine is available starting with SIL Engine™ 2.0.5 for Jira 5.x or SIL Engine™ 1.1.12 for Jira 4.3.x/4.4.x.
- This routine is available for Jira server and cloud deployment options.
|
Syntax
isAnyUserAuthenticated()
Description
...
Button handy |
---|
blank | true |
---|
color | #0052CC |
---|
name | Send Feedback |
---|
link | https://docs.google.com/forms/d/e/1FAIpQLScmToBe3vynAlb5fdKwCGxYqnTbDc66sIBgeecG2BuFDuHc7g/viewform?entry.2002826954=isAnyUserAuthenticated+-+15484661 |
---|
width | auto |
---|
|
Table plus |
---|
applyColStyleToCell | true |
---|
heading | 0 |
---|
columnTypes | s,s,s,s |
---|
multiple | false |
---|
columnAttributes | style="background:#e5e7ea;font-weight:bold,,style="background:#e5e7ea;font-weight:bold, |
---|
enableSorting | false |
---|
|
Syntax | isAnyUserAuthenticated() | Package | | Alias | | Pkg Usage | | |
Description
Excerpt |
---|
|
Verifies if there is a logged in user. |
Parameters
NoneVerifies if there is a logged in user.
Return
...
Type
Boolean
A "true" return value means that there is a logged in user.
...
Example
...
Code Block |
---|
if (isAnyUserAuthenticated()) {
print(currentDate());
}
|
Result: It will print the current date. If there is nobody logged in, the current date will not be printed.
2012-06-20 13:39:31,629 pool-5-thread-2 INFO admin 819x261x1 1k7wpbj 127.0.0.1 /rest/keplerrominfo/jjupin/latest/rungadget/run [commons.sil.routines.StringPrintRoutine] 2012-06-20 13:39:31
...
Filter by label (Content by label) |
---|
showLabels | false |
---|
max | 25 |
---|
showSpace | false |
---|
cql | label = "jira_securityuser_routine" and space = currentSpace ( ) |
---|
labels | jiraarray_security_routineroutines |
---|
|