Home > Contents > Index >
USERISMEMBER
Checks if the current user is a member of one or more Access Control Lists (ACLs).
Syntax
<USERISMEMBER GROUP="ACL_NAME"/>Parameters
GROUP (required)
- Comma-separated list of ACL names.
Description
The
USERISMEMBER
tag checks if the current user is a member of one or more Access Control Lists (ACLs).Variables.errno
is set to 1 (one) if the user is a member of any of the listed ACLs.Error Numbers
The possible values of
errno
include:
Value Description 1 User is member of one or more groups. 0 User is not a member of any group.Example
This example checks whether Editors is one of the items in the current user ACL.
<SETVAR
NAME="errno" VALUE="0"/> <USERISMEMBER GROUP="Editors"/> <IF
COND="Variables.errno=1"> <THEN> User is member of Editors. </THEN> </IF>
Home > Contents > Index > Oracle XML Tag Reference
Copyright (c) 2013, 2016, Oracle and/or its affiliates. All rights reserved.