WindowsTaskCredentials.UserName Property

Updated: April 16, 2012

Gets or sets a string that contains the user name. Namespace: Microsoft.EnterpriseManagement.Runtime
Assembly: Microsoft.EnterpriseManagement.Runtime (in Microsoft.EnterpriseManagement.Runtime.dll)Dim instance As WindowsTaskCredentials Dim value As String value = instance.UserName instance.UserName = valuePublic Property UserName As Stringpublic string UserName { get; set; }public: property String^ UserName { String^ get (); void set (String^ value); }/** @property */ public String get_UserName () /** @property */ public void set_UserName (String value) public function get UserName () : String public function set UserName (value : String) Property ValueReturns String. A string that contains the user name.
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Development Platforms

Windows Vista, Windows Server 2003, and

Target Platforms