Previous in Contents Next in Contents

AccountName Property

The AccountName property specifies the account credential used by the task scheduler to run the task. It is also used in conjunction with a password when tasks are scheduled.

Type

String (VT_BSTR)

Default

None

Example

VBScript

Set Task =  Project.Task
Task.Accountname="pushrefreshuser"

© 1997-2000 Microsoft Corporation. All rights reserved.