The Sun Communications Services resource adapter does not perform before or after actions. Instead, you may use the Action Proxy Resource Adapter field in the Resource Wizard to designate a proxy resource adapter that has been configured to run actions.
The following example script could be run on the proxy resource after creating a user:
SET PATH=c:\Sun\Server-Root\lib SET SYSTEMROOT=c:\winnt SET CONFIGROOT=C:/Sun/Server-Root/Config mboxutil -c -P user/%WSUSER_accountId%.*
The following example script will delete the user’s mailboxes when the user is deleted.
SET PATH=c:\Sun\Server-Root\lib SET SYSTEMROOT=c:\winnt SET CONFIGROOT=C:/Sun/Server-Root/Config mboxutil -d -P user/%WSUSER_accountId%.*