Oracle Fusion Middleware JSP Tag Java API Reference for Oracle WebLogic Portal
10g Release 3 (10.3.4)
E14256-06

Portal User and Group Management
Tag getGroupNamesForUser


Description

Retrieve the groups to which a user belongs. Only returns the immediate groups for the user, not any parents of those groups. The specified user should exist.


Tag Information
Tag Class com.bea.p13n.usermgmt.taglib.GetGroupNamesForUserTag
TagExtraInfo Class com.bea.p13n.usermgmt.taglib.GetGroupNamesForUserExtraInfo
Body Contentempty
Display NameGet Group Names for User

Attributes
NameRequiredRequest-timeDescription
atnProviderfalsetrue The authentication provider for the group. The default provider will be used if not specified.
usernametruetrue The name of the user whose matching groups are sought.
idtruefalse The name of a variable which will return the group names, as a String array. Returns a zero-length array if the user is not a member of any groups.

Variables
No Variables Defined.


Oracle Fusion Middleware JSP Tag Java API Reference for Oracle WebLogic Portal
10g Release 3 (10.3.4)
E14256-06

Copyright © 2011, Oracle. All rights reserved.