Genpact Cora Knowledge Center


User and Group Methods


You use user and group functions to retrieve information on users and groups. 

Available functions

The Expression Wizard includes the following user and groups functions:

Retrieve data on groups

To retrieve....Use expression...Returns...
All the groups to which the user belongs


GroupView list
All the parent groups to which the user that executes the expression belongs CurrentUserParentGroups(rt, <level>)GroupView list
Group information by group IDGroup(rt, <groupId>)GroupView
A list of all the existing groups

GroupsByName(rt, <groupName>)

GroupView list
All groups to which a user belongs

MemberOf(rt, <userId>)

GroupView list
Data on users by user ID and organization structure levelUserParentGroups(rt, <userId>, <level>)GroupView list

Retrieve data on users

To retrieve....Use expression...Returns...
Data on user by providing a user IDUser(rt, <userId>)UserView
Data on user by providing the display name.

UsersByDisplayName(rt, <displayName>)

UserView list
Data on user by email. 

UsersByEmail(rt, <email>)

UserView list
Data on a specific by user name and domain name.

UsersByUserNameAndDomain(rt, <userName>, <domainName>)

UserView list