OPC Studio User's Guide and Reference
UserNameTokenInfo Class
Members 



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.IdentityModel.User Namespace : UserNameTokenInfo Class
A username token info (with optional password).
Object Model
UserNameTokenInfo ClassUserNameTokenInfo ClassUserNameTokenInfo Class
Syntax
'Declaration
 
<CLSCompliantAttribute(True)>
<ComDefaultInterfaceAttribute(OpcLabs.BaseLib.IdentityModel.User.ComTypes._UserNameTokenInfo)>
<ComVisibleAttribute(True)>
<GuidAttribute("F16B7026-FF59-4323-949E-C94896497ACE")>
<TypeConverterAttribute(System.ComponentModel.ExpandableObjectConverter)>
<XmlIncludeAttribute(OpcLabs.BaseLib.IdentityModel.User.AnonymousTokenInfo)>
<ValueControlAttribute("OpcLabs.BaseLib.Forms.Common.ObjectSerializationControl, OpcLabs.BaseLibForms, Version=5.80.82.1, Culture=neutral, PublicKeyToken=6faddca41dacb409", 
   DefaultReadWrite=False, 
   Export=True, 
   PageId=10001)>
<SerializableAttribute()>
Public NotInheritable Class UserNameTokenInfo 
   Inherits TokenInfo
   Implements OpcLabs.BaseLib.ComTypes._Info, OpcLabs.BaseLib.ComTypes._Object2, OpcLabs.BaseLib.ComTypes._Parameters, OpcLabs.BaseLib.IdentityModel.User.ComTypes._TokenInfo, OpcLabs.BaseLib.IdentityModel.User.ComTypes._UserNameTokenInfo, System.ComponentModel.INotifyPropertyChanged, System.ICloneable, System.Runtime.Serialization.ISerializable, System.Xml.Serialization.IXmlSerializable 
'Usage
 
Dim instance As UserNameTokenInfo
[CLSCompliant(true)]
[ComDefaultInterface(OpcLabs.BaseLib.IdentityModel.User.ComTypes._UserNameTokenInfo)]
[ComVisible(true)]
[Guid("F16B7026-FF59-4323-949E-C94896497ACE")]
[TypeConverter(System.ComponentModel.ExpandableObjectConverter)]
[XmlInclude(OpcLabs.BaseLib.IdentityModel.User.AnonymousTokenInfo)]
[ValueControl("OpcLabs.BaseLib.Forms.Common.ObjectSerializationControl, OpcLabs.BaseLibForms, Version=5.80.82.1, Culture=neutral, PublicKeyToken=6faddca41dacb409", 
   DefaultReadWrite=false, 
   Export=true, 
   PageId=10001)]
[Serializable()]
public sealed class UserNameTokenInfo : TokenInfo, OpcLabs.BaseLib.ComTypes._Info, OpcLabs.BaseLib.ComTypes._Object2, OpcLabs.BaseLib.ComTypes._Parameters, OpcLabs.BaseLib.IdentityModel.User.ComTypes._TokenInfo, OpcLabs.BaseLib.IdentityModel.User.ComTypes._UserNameTokenInfo, System.ComponentModel.INotifyPropertyChanged, System.ICloneable, System.Runtime.Serialization.ISerializable, System.Xml.Serialization.IXmlSerializable  
[CLSCompliant(true)]
[ComDefaultInterface(OpcLabs.BaseLib.IdentityModel.User.ComTypes._UserNameTokenInfo)]
[ComVisible(true)]
[Guid("F16B7026-FF59-4323-949E-C94896497ACE")]
[TypeConverter(System.ComponentModel.ExpandableObjectConverter)]
[XmlInclude(OpcLabs.BaseLib.IdentityModel.User.AnonymousTokenInfo)]
[ValueControl("OpcLabs.BaseLib.Forms.Common.ObjectSerializationControl, OpcLabs.BaseLibForms, Version=5.80.82.1, Culture=neutral, PublicKeyToken=6faddca41dacb409", 
   DefaultReadWrite=false, 
   Export=true, 
   PageId=10001)]
[Serializable()]
public ref class UserNameTokenInfo sealed : public TokenInfo, OpcLabs.BaseLib.ComTypes._Info, OpcLabs.BaseLib.ComTypes._Object2, OpcLabs.BaseLib.ComTypes._Parameters, OpcLabs.BaseLib.IdentityModel.User.ComTypes._TokenInfo, OpcLabs.BaseLib.IdentityModel.User.ComTypes._UserNameTokenInfo, System.ComponentModel.INotifyPropertyChanged, System.ICloneable, System.Runtime.Serialization.ISerializable, System.Xml.Serialization.IXmlSerializable  
Remarks
The username token will be used as user identity when it is not empty.
Inheritance Hierarchy

System.Object
   OpcLabs.BaseLib.Object2
      OpcLabs.BaseLib.Info
         OpcLabs.BaseLib.Parameters
            OpcLabs.BaseLib.IdentityModel.User.TokenInfo
               OpcLabs.BaseLib.IdentityModel.User.UserNameTokenInfo

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