How do I update the notification messages of a user automation job?
Intended audience: Administrator
The STSADM operation userautomation-setnotification can be used to update the notification e-mail messages sent by an existing user automation job.
Syntax
stsadm -o userautomation-setnotification
-url <URL>
-jobname <Name of the job to remove>
-notificationtype <Type of notification>
-filename <Path to notification xml document>
Parameters
| url |
A valid URL such as http://server_name |
Yes |
URL of the site collection or Web site to which the job will be assoicated
|
| jobname |
Name of the Timer Job |
Yes |
Name of the Timer Job to remove
|
| notificationtype |
Type of notification |
Yes |
Valid Values:
AccountApproachingExpiration AccountExpiration PasswordApproachingExpiration PasswordExpiration |
| filename |
Path to a valid notification xml document |
Yes |
You can find sample notification messages in the 'C:\Program Files\SharePoint Solutions\Extranet Collaboration Manager\Configuration\' directory.
Valid Tokens define as {TokenName} will be substituted with a replacement value before the message is sent.
Valid Tokens:
{ExecutionDate} {Url} {Url.'Zone'} {UserCreationDate} {UserEmail} {UserIsApproved} {UserIsLockedOut} {UserLastActivityDate} {UserLastLockoutDate} {UserLastLoginDate} {UserLastPasswordChangedDate} {UserPasswordQuestion} {UserProviderName} {UserName} {MaxPasswordAge} {PasswordExpirationDate} {MaxInactiveAccountAge} {AccountExpirationDate} {FromEmailAddress} |
/support/documents/article0000/article0000.htm