UserInfo
Overview
The UserInfo class can be used to provide additional information about user being authenticating back to the client application. For example SimpleLoginService method return an instance of this class as an out parameter. However Authentication and Login infrastructure of Data Abstract doesn't enforce use of the UserInfo class. It is even possible to define own structures of similar purpose or to not use it at all.
The UserInfo class can be considered as obsolete because more advanced (and suggested to be used) LoginEx approach doesn't provide any use for the UserInfo class.
Location
- Reference: RemObjects.DataAbstract.dll
- Namespace: RemObjects.DataAbstract.Server
- Ancestry: ComplexType | UserInfo
constructor
Creates a new instance of the UserInfo class.
constructor
UserInfo()
Sub New()
Attributes
Gets or sets an array of custom user attributes.
property Attributes: array of Object read write;
Object[] Attributes { get; set; }
Property Attributes() As Object()
GetAttributeCount (declared in ComplexType)
method GetAttributeCount: Int32
Int32 GetAttributeCount()
Function GetAttributeCount() As Int32
GetAttributeName (declared in ComplexType)
method GetAttributeName(index: Int32): String
String GetAttributeName(Int32 index)
Function GetAttributeName(index As Int32) As String
Parameters:
- index:
GetAttributeValue (declared in ComplexType)
method GetAttributeValue(index: Int32): String
String GetAttributeValue(Int32 index)
Function GetAttributeValue(index As Int32) As String
Parameters:
- index:
Privileges
Gets or sets a list of user access privileges. It is up to the client application to interpret these rules and to use them.
property Privileges: array of String read write;
String[] Privileges { get; set; }
Property Privileges() As String()
PropertyChanged (declared in ComplexType)
event PropertyChanged: PropertyChangedEventHandler;
delegate PropertyChangedEventHandler PropertyChanged()
Event PropertyChanged As PropertyChangedEventHandler
ReadComplex
method ReadComplex(serializer: Serializer)
void ReadComplex(Serializer serializer)
Sub ReadComplex(serializer As Serializer)
Parameters:
- serializer:
SessionID
Gets or sets the user's session Id.
property SessionID: String read write;
String SessionID { get; set; }
Property SessionID() As String
TriggerPropertyChanged protected (declared in ComplexType)
method TriggerPropertyChanged(propertyName: String)
void TriggerPropertyChanged(String propertyName)
Sub TriggerPropertyChanged(propertyName As String)
Parameters:
- propertyName:
UserData
Gets or sets a binary blob containing user information. For example this field can store user's photo etc.
UserID
Gets or sets user Id, for example full user name.
property UserID: String read write;
String UserID { get; set; }
Property UserID() As String
WriteComplex
method WriteComplex(serializer: Serializer)
void WriteComplex(Serializer serializer)
Sub WriteComplex(serializer As Serializer)
Parameters:
- serializer:
Attributes
Gets or sets an array of custom user attributes.
property Attributes: array of Object read write;
Object[] Attributes { get; set; }
Property Attributes() As Object()
Privileges
Gets or sets a list of user access privileges. It is up to the client application to interpret these rules and to use them.
property Privileges: array of String read write;
String[] Privileges { get; set; }
Property Privileges() As String()
SessionID
Gets or sets the user's session Id.
property SessionID: String read write;
String SessionID { get; set; }
Property SessionID() As String
UserData
Gets or sets a binary blob containing user information. For example this field can store user's photo etc.
UserID
Gets or sets user Id, for example full user name.
property UserID: String read write;
String UserID { get; set; }
Property UserID() As String
constructor
Creates a new instance of the UserInfo class.
constructor
UserInfo()
Sub New()
GetAttributeCount (declared in ComplexType)
method GetAttributeCount: Int32
Int32 GetAttributeCount()
Function GetAttributeCount() As Int32
GetAttributeName (declared in ComplexType)
method GetAttributeName(index: Int32): String
String GetAttributeName(Int32 index)
Function GetAttributeName(index As Int32) As String
Parameters:
- index:
GetAttributeValue (declared in ComplexType)
method GetAttributeValue(index: Int32): String
String GetAttributeValue(Int32 index)
Function GetAttributeValue(index As Int32) As String
Parameters:
- index:
ReadComplex
method ReadComplex(serializer: Serializer)
void ReadComplex(Serializer serializer)
Sub ReadComplex(serializer As Serializer)
Parameters:
- serializer:
TriggerPropertyChanged protected (declared in ComplexType)
method TriggerPropertyChanged(propertyName: String)
void TriggerPropertyChanged(String propertyName)
Sub TriggerPropertyChanged(propertyName As String)
Parameters:
- propertyName:
WriteComplex
method WriteComplex(serializer: Serializer)
void WriteComplex(Serializer serializer)
Sub WriteComplex(serializer As Serializer)
Parameters:
- serializer:
PropertyChanged (declared in ComplexType)
event PropertyChanged: PropertyChangedEventHandler;
delegate PropertyChangedEventHandler PropertyChanged()
Event PropertyChanged As PropertyChangedEventHandler