GetRoleInfo2

Syntax

procedure GetRoleInfo2
  (Role in varchar2,
   Role_Info_Tbl out wf_directory.wf_local_roles_tbl_type);

Description

Returns the following information about a role in a PL/SQL table:

Note: For roles that are Oracle E-Business Suite users marked with an originating system of FND_USR or PER, the GetRoleInfo2() procedure by default retrieves the language and territory values from the ICX: Language and ICX: Territory profile options for that Oracle E-Business Suite user.

However, if the WF_PREFERENCE resource token is defined and set to FND, then the GetRoleInfo2() procedure obtains the language and territory values from the Oracle Workflow preferences table instead.

Additionally, for roles that are Oracle E-Business Suite users marked with an originating system of FND_USR or PER, the GetRoleInfo2() procedure obtains the remaining NLS parameters from the following profile options:

For roles that are not Oracle E-Business Suite users, the procedure returns the language and territory values from the Oracle Workflow directory service and the remaining NLS parameters from the default system-level values.

Arguments (input)

role A valid role name.