OPC Studio User's Guide and Reference
UserName Property (NetworkCredential2)



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.Net Namespace > NetworkCredential2 Class : UserName Property
Syntax
'Declaration
 
<DataMemberAttribute()>
Public Shadows Property UserName As String
'Usage
 
Dim instance As NetworkCredential2
Dim value As String
 
instance.UserName = value
 
value = instance.UserName
[DataMember()]
public new string UserName {get; set;}
[DataMember()]
public:
new property String^ UserName {
   String^ get();
   void set (    String^ value);
}

Property Value

This value of this property can be null (Nothing in Visual Basic).

The default value of this property is "" (String.Empty).

Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows

See Also