Skip Headers

Oracle Workflow API Reference
Release 2.6.3

Part Number B10286-02
Previous Next       Contents Index Glossary
         Previous  Next          Contents  Index  Glossary

SetAdHocRoleExpiration

Syntax

procedure SetAdHocRoleExpiration

(role_name in varchar2,
expiration_date in date default sysdate);

Description

Updates the expiration date for an ad hoc role.

Note that although users and roles whose expiration date has passed do not appear in the seeded WF_USERS, WF_ROLES, and WF_USER_ROLES views, they are not removed from the Workflow local tables until you purge them using AdHocDirectory(). You should periodically purge expired users and roles in order to improve performance. See: Directory.

Arguments (input)

role_name The internal name of the ad hoc role.
expiration_date New expiration date. If null, the procedure defaults the expiration date to sysdate.

         Previous  Next          Contents  Index  Glossary


Oracle Logo
Copyright © 2003 Oracle Corporation.

All rights reserved.