Connectivity Software User's Guide and Reference
ReadOnlyNameAndPassword Property



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.Security.User Namespace > UserManagers Class : ReadOnlyNameAndPassword Property
Gets or sets the read-only name and password user manager.
Syntax
'Declaration
 
<BrowsableAttribute(False)>
<JetBrains.Annotations.CanBeNullAttribute()>
<TypeConverterAttribute(System.ComponentModel.ExpandableObjectConverter)>
Public Property ReadOnlyNameAndPassword As IReadOnlyNameAndPasswordUserManager
'Usage
 
Dim instance As UserManagers
Dim value As IReadOnlyNameAndPasswordUserManager
 
instance.ReadOnlyNameAndPassword = value
 
value = instance.ReadOnlyNameAndPassword
[Browsable(false)]
[JetBrains.Annotations.CanBeNull()]
[TypeConverter(System.ComponentModel.ExpandableObjectConverter)]
public IReadOnlyNameAndPasswordUserManager ReadOnlyNameAndPassword {get; set;}
[Browsable(false)]
[JetBrains.Annotations.CanBeNull()]
[TypeConverter(System.ComponentModel.ExpandableObjectConverter)]
public:
property IReadOnlyNameAndPasswordUserManager^ ReadOnlyNameAndPassword {
   IReadOnlyNameAndPasswordUserManager^ get();
   void set (    IReadOnlyNameAndPasswordUserManager^ value);
}

Property Value

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

The default value of this property is null.

Remarks
>

> The NameAndPassword and ReadOnlyNameAndPassword properties are inter-dependent, and never contain two different objects. NameAndPassword is null if ReadOnlyNameAndPassword does not contain a user manager that implements INameAndPasswordUserManager interface. When you set one of the properties, the other property is updated automatically.

This method or property does not throw any exceptions, aside from execution exceptions such as System.Threading.ThreadAbortException or System.OutOfMemoryException.

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