Click or drag to resize

UserInfo Class

Light weigth class for User objects.
Inheritance Hierarchy
SystemObject
  Omada.OE.ModelUserInfo

Namespace:  Omada.OE.Model
Assembly:  Omada.OE.Model (in Omada.OE.Model.dll) Version: 15.0.0.0
Syntax
C#
[SerializableAttribute]
public class UserInfo : IObjectWithId, ICloneable

The UserInfo type exposes the following members.

Constructors
  NameDescription
Public methodUserInfo(Int32)
Public methodUserInfo(AuthUserInfo)
This constructor will leave DisplayName empty.
Top
Properties
  NameDescription
Public propertyCulture
Public propertyDisplayName
This field will not be initialized if object was creade from or assigned from AuthUserInfo.
Public propertyEmail
Public propertyEmail2
Public propertyFirstName
Public propertyGroupIds
GroupIds contain the id's of ALL (regardless of AuthLevel) the usergroups that the user is a member of, including his own personal group. The information is not always present - if not GroupIds is null.
Public propertyLanguageId
Public propertyLastName
Public propertyStatic memberSystemUser
Public propertyUserId
Public propertyUserName
Top
Methods
  NameDescription
Public methodAssign(AuthUserInfo)
As AuthUserInfo does not contain DisplayName, it will be empty.
Public methodAssign(User)
Public methodAssign(UserInfo)
Public methodClone
Public methodFormatName
Public methodGetMailAddress
Method throws an exception if the email is empty.
Public methodToString
The full name of the user
(Overrides ObjectToString.)
Public methodToString(AppFormatInfo)
Top
Extension Methods
  NameDescription
Public Extension MethodToBool
Converts object to boolean.
(Defined by ObjectExtensions.)
Public Extension MethodToDateTime
Converts object to DateTime.
(Defined by ObjectExtensions.)
Public Extension MethodToInt
Converts object to integer.
(Defined by ObjectExtensions.)
Top
Explicit Interface Implementations
  NameDescription
Explicit interface implementationPrivate methodIObjectWithId.GetId
Top
See Also