Share via


Job.User Property

Retrieves or sets the RunAs user for the job.

Namespace: Microsoft.ComputeCluster
Assembly: CcpAPI (in ccpapi.dll)

Usage

Syntax

'Declaration
<XmlAttributeAttribute> _
<DefaultValueAttribute("")> _
Public Property User As String
[XmlAttributeAttribute] 
[DefaultValueAttribute("")] 
public string User { get; set; }
[XmlAttributeAttribute] 
[DefaultValueAttribute(L"")] 
public:
virtual property String^ User {
    String^ get () sealed;
    void set (String^ value) sealed;
}
/** @property */
public final String get_User ()

/** @property */
public final void set_User (String value)
public final function get User () : String

public final function set User (value : String)

Property Value

The user name in the form, domain\username.

Remarks

You do not need to call this method. The initial value is set to the user that added the job to the cluster. You can use the following methods to change the value of the RunAs user:

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Microsoft Windows Compute Cluster Server 2003, Windows Server 2003, Windows XP

Target Platforms

Microsoft Windows Compute Cluster Server 2003, Windows Server 2003 with Compute Cluster Pack Client Utilities, Windows XP with Compute Cluster Pack Client Utilities

See Also

Reference

Job Class
Job Members
Microsoft.ComputeCluster Namespace