Class UserInfo
abstracts a user in the system
Inherited Members
Namespace: ABB.Robotics.Controllers
Assembly: ABB.Robotics.Controllers.PC.dll
Syntax
public class UserInfo : NamedObject, INamedObject, IComparable
Constructors
UserInfo()
Initializes a new instance of the UserInfo class.
Declaration
public UserInfo()
UserInfo(String)
Initializes a new instance of the UserInfo class.
Declaration
public UserInfo(string name)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | The name. |
UserInfo(String, String)
Initializes a new instance of the UserInfo class.
Declaration
public UserInfo(string name, string password)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | The name. |
System.String | password | The password. |
UserInfo(String, String, String)
Initializes a new instance of the UserInfo class.
Declaration
public UserInfo(string name, string password, string application)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | The name. |
System.String | password | The password. |
System.String | application | The application. |
Properties
Application
gets / sets the application
Declaration
public virtual string Application { get; set; }
Property Value
Type | Description |
---|---|
System.String |
DefaultLocalUser
Returns the default local user for this application. Only valid for VC.
Declaration
public static UserInfo DefaultLocalUser { get; }
Property Value
Type | Description |
---|---|
UserInfo |
DefaultUser
Returns the default user for this application.
Declaration
public static UserInfo DefaultUser { get; }
Property Value
Type | Description |
---|---|
UserInfo |
Local
Login as local user. Only valid for VC.
Declaration
public bool Local { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Password
gets / sets the password of the user
Declaration
public virtual string Password { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ReadOnly
Gets a flag indicating that the object is readonly.
Declaration
public bool ReadOnly { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Methods
DemandWriteAccess()
Demands write access to the object, throws an invalid operation exception if write access isn't granted.
Declaration
protected void DemandWriteAccess()
Implements
System.IComparable