Share via


Set Permissions

The parameter specifies what user (using the user's SMTP e-mail address) should have author access to the item. You must call ClearPermissions prior to setting permissions.

Sub SetPermissions (strSMTPAddress)
   WorkflowSession.ItemAuthors.Add strSMTPAddress, 0
End Sub

See Also

Scripting in the Workflow Designer for Exchange Server | Script Examples for Exchange Server | Creating Script Procedures