UserInfo Class (.NET)

From RemObjects Wiki
Jump to: navigation, search

This is a Library topic for Data Abstract for .NET
This page is generated from external data, please do not update

NamespacesInterfacesClassesEnumsImplements

Contents

Overview

The UserInfo class can be used to provide additional information about user being authenticating back to the client application. For example SimpleLoginService.Login method return an instance of this class as an out parameter. However Login and Authentication 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


Properties

Attributes

Gets or sets an array of custom user attributes.



Prism:   property Attributes: array of Object read write
C#:   array of Object Attributes { get; set; }
VB:   Property Attributes As array of 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.



Prism:   property Privileges: array of String read write
C#:   array of String Privileges { get; set; }
VB:   Property Privileges As array of String


SessionID

Gets or sets the user's session Id.



Prism:   property SessionID: String read write
C#:   String SessionID { get; set; }
VB:   Property SessionID As String


TypeName     (declared in ComplexType)



Prism:   property TypeName: String read
C#:   String TypeName { get; }
VB:   Property ReadOnly TypeName As String


UserData

Gets or sets a binary blob containing user information. For example this field can store user's photo etc.



Prism:   property UserData: Binary read write
C#:   Binary UserData { get; set; }
VB:   Property UserData As Binary


UserID

Gets or sets user Id, for example full user name.



Prism:   property UserID: String read write
C#:   String UserID { get; set; }
VB:   Property UserID As String


Instance Methods

constructor

Creates a new instance of the UserInfo class.


Oxygene:   constructor
C#:   constructor()
VB:   Sub New


GetAttributeCount     (declared in ComplexType)



Oxygene:   method GetAttributeCount: Int32
C#:   Int32 GetAttributeCount()
VB:   Function GetAttributeCount As Int32


GetAttributeName     (declared in ComplexType)



Oxygene:   method GetAttributeName(index: Int32): String
C#:   String GetAttributeName(Int32 index)
VB:   Function GetAttributeName(index As Int32) As String


Parameters:

  • index:


GetAttributeValue     (declared in ComplexType)



Oxygene:   method GetAttributeValue(aIndex: Int32): String
C#:   String GetAttributeValue(Int32 aIndex)
VB:   Function GetAttributeValue(aIndex As Int32) As String


Parameters:

  • aIndex:


ReadComplex     (declared in ComplexType)



Oxygene:   method ReadComplex(serializer: Serializer)
C#:   void ReadComplex(Serializer serializer)
VB:   Sub ReadComplex(serializer As Serializer)


Parameters:

  • serializer:


TriggerPropertyChanged   protected     (declared in ComplexType)



Oxygene:   method TriggerPropertyChanged(propertyName: String)
C#:   void TriggerPropertyChanged(String propertyName)
VB:   Sub TriggerPropertyChanged(propertyName As String)


Parameters:

  • propertyName:


WriteComplex     (declared in ComplexType)



Oxygene:   method WriteComplex(serializer: Serializer)
C#:   void WriteComplex(Serializer serializer)
VB:   Sub WriteComplex(serializer As Serializer)


Parameters:

  • serializer:


Events

PropertyChanged     (declared in ComplexType)



Oxygene:   event PropertyChanged: PropertyChangedEventHandler
C#:   event PropertyChangedEventHandler PropertyChanged
VB:   Event PropertyChanged As PropertyChangedEventHandler


See Also


Product: RemObjects Data Abstract
Available Editions: Data Abstract for .NET, Delphi and Xcode

GlossaryArticlesFeaturesLibrarySamples

Personal tools
Namespaces

Variants
Actions
Navigation
products
platforms
special
Toolbox