Button handy |
---|
blank | true |
---|
color | #0052CC |
---|
name | Send Feedback |
---|
link | https://docs.google.com/forms/d/e/1FAIpQLScmToBe3vynAlb5fdKwCGxYqnTbDc66sIBgeecG2BuFDuHc7g/viewform?entry.2002826954=userInGroup+-+434831928 |
---|
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 | userInGroup(group, user) | Package | | Alias | | Pkg Usage | | |
...
Examples
Example 1
Code Block |
---|
|
userInGroup("Administrators", "Admin1"); |
Returns "true" if Admin1 is included in Administrators group and "false" if Admin1 is not included in Administrators group.
Example 2
Code Block |
---|
|
userInGroup("Users", currentUser()); |
Returns: True if the current user is included in "Users" group or False if the current user is not included in "Users" group.
Example 3
Code Block |
---|
|
string[] groups = {"Administrators", "Users"};
userInGroup(groups, currentUser()); |
...
Filter by label (Content by label) |
---|
showLabels | false |
---|
max | 25 |
---|
showSpace | false |
---|
cql | label = "user_routine" and space = currentSpace ( ) |
---|
labels | array_routines |
---|
|
We've encountered an issue exporting this macro. Please try exporting this page again later.