| Previous | Next |  | Contents | Index | Glossary

## Workflow Preferences API

Call the following API to retrieve user preference information. The API is defined in the PL/SQL package called WF_PREF.

## get_pref

Syntax

`function get_pref`

        (p_user_name in varchar2,

         p_preference_name in varchar2)

         return varchar2;

Description

Retrieves the value of the specified preference for the specified user.

Arguments (input) | p_user_nameThe internal name of the user. To retrieve the value for a global preference, specify the user as -WF_DEFAULT-.
p_preference_name | The name of the user preference whose value you wish to retrieve. Valid preference names are:
| LANGUAGE
| TERRITORY
| MAILTYPE
| DMHOME
| DATEFORMAT

| Previous | Next |  | Contents | Index | Glossary