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



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.IdentityModel.User Namespace > UserNameTokenInfo Class : UserName Property
Gets or sets the username.
Syntax
'Declaration
 
<DataMemberAttribute()>
<DefaultValueAttribute("")>
<NotNullAttribute()>
Public Property UserName As String
'Usage
 
Dim instance As UserNameTokenInfo
Dim value As String
 
instance.UserName = value
 
value = instance.UserName
[DataMember()]
[DefaultValue("")]
[NotNull()]
public string UserName {get; set;}
[DataMember()]
[DefaultValue("")]
[NotNull()]
public:
property String^ UserName {
   String^ get();
   void set (    String^ value);
}
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