.NET Based OPC UA Client/Server SDK  2.6.1.422
UnifiedAutomation.UaServer.UserIdentity Class Reference

A user identity. More...

Public Member Functions

 UserIdentity ()
 Initializes a new instance of the UserIdentity class. More...
 
 UserIdentity (UserIdentityToken token)
 Initializes a new instance of the UserIdentity class. More...
 
 UserIdentity (UserIdentityToken token, bool isAdministrator)
 Initializes a new instance of the UserIdentity class. More...
 
override bool Equals (object obj)
 Determines whether the specified System.Object is equal to this instance. More...
 
override int GetHashCode ()
 Returns a hash code for this instance. More...
 

Properties

UserTokenType TokenType [get, set]
 Gets or sets the type of the identity. More...
 
string DisplayName [get]
 Gets or sets the name of the user. More...
 
string UserName [get, set]
 Gets or sets the name of the user. More...
 
string Password [get, set]
 Gets or sets the password. More...
 
bool IsAdministrator [get, set]
 Gets or sets a value indicating whether this user is an administrator. More...
 
ICertificate Certificate [get, set]
 Gets or sets the certificate. More...
 
List< uint > ScopeIds [get]
 The groups assigned to the user that determines what permissions it has. More...
 
System.Security.Principal.WindowsIdentity WindowsIdentity [get, set]
 Gets or sets the windows identity. More...
 

Detailed Description

A user identity.

Constructor & Destructor Documentation

UnifiedAutomation.UaServer.UserIdentity.UserIdentity ( )
inline

Initializes a new instance of the UserIdentity class.

UnifiedAutomation.UaServer.UserIdentity.UserIdentity ( UserIdentityToken  token)
inline

Initializes a new instance of the UserIdentity class.

UnifiedAutomation.UaServer.UserIdentity.UserIdentity ( UserIdentityToken  token,
bool  isAdministrator 
)
inline

Initializes a new instance of the UserIdentity class.

Parameters
tokenThe token.
isAdministratorif set to true [is administrator].

Member Function Documentation

override bool UnifiedAutomation.UaServer.UserIdentity.Equals ( object  obj)
inline

Determines whether the specified System.Object is equal to this instance.

Parameters
objThe System.Object to compare with this instance.
Returns
true if the specified System.Object is equal to this instance; otherwise, false.
Exceptions
T:System.NullReferenceExceptionThe obj parameter is null.
override int UnifiedAutomation.UaServer.UserIdentity.GetHashCode ( )
inline

Returns a hash code for this instance.

Returns
A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.

Property Documentation

ICertificate UnifiedAutomation.UaServer.UserIdentity.Certificate
getset

Gets or sets the certificate.

The certificate.

string UnifiedAutomation.UaServer.UserIdentity.DisplayName
get

Gets or sets the name of the user.

The name of the user.

bool UnifiedAutomation.UaServer.UserIdentity.IsAdministrator
getset

Gets or sets a value indicating whether this user is an administrator.

true if this user is administrator; otherwise, false.

string UnifiedAutomation.UaServer.UserIdentity.Password
getset

Gets or sets the password.

The password.

List<uint> UnifiedAutomation.UaServer.UserIdentity.ScopeIds
get

The groups assigned to the user that determines what permissions it has.

1 is the builin administrator group. Any other number has meaning specific to a server.

UserTokenType UnifiedAutomation.UaServer.UserIdentity.TokenType
getset

Gets or sets the type of the identity.

The type of the identity.

string UnifiedAutomation.UaServer.UserIdentity.UserName
getset

Gets or sets the name of the user.

The name of the user.

System.Security.Principal.WindowsIdentity UnifiedAutomation.UaServer.UserIdentity.WindowsIdentity
getset

Gets or sets the windows identity.

The windows identity.


The documentation for this class was generated from the following file: