JAMS 6.x Help
UserName Property (Job)


Gets or sets the username that this Job should run under. This overrides the username specified in the Job's Folder definition.
Syntax
'Declaration
 
<System.ComponentModel.CategoryAttribute("Execution")>
<System.ComponentModel.DescriptionAttribute("The user name this job should run under.  The default comes from the job's Folder definition.")>
<System.ComponentModel.DefaultValueAttribute()>
Public Property UserName As System.String
'Usage
 
Dim instance As Job
Dim value As System.String
 
instance.UserName = value
 
value = instance.UserName
[System.ComponentModel.Category("Execution")]
[System.ComponentModel.Description("The user name this job should run under.  The default comes from the job's Folder definition.")]
[System.ComponentModel.DefaultValue()]
public System.string UserName {get; set;}
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

Job Class
Job Members

Send Feedback