Class SysUserInfo
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Terrasoft.Core.Configuration
Assembly: Terrasoft.Core.dll
Syntax
public class SysUserInfo : SysAdminUnit, IEntity, ICloneable, ILicObject, ICompositeObject, IRowModel
Constructors
SysUserInfo(SysUserInfo)
Declaration
public SysUserInfo(SysUserInfo source)
Parameters
Type | Name | Description |
---|---|---|
SysUserInfo | source |
SysUserInfo(UserConnection)
Declaration
public SysUserInfo(UserConnection userConnection)
Parameters
Type | Name | Description |
---|---|---|
UserConnection | userConnection |
Properties
ClientIP
Declaration
public string ClientIP { get; }
Property Value
Type | Description |
---|---|
System.String |
Culture
Declaration
public CultureInfo Culture { get; }
Property Value
Type | Description |
---|---|
System.Globalization.CultureInfo |
DateTimeFormatCode
Declaration
public string DateTimeFormatCode { get; }
Property Value
Type | Description |
---|---|
System.String |
PageRowsCount
Declaration
public int PageRowsCount { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
TimeZone
Declaration
public TimeZoneInfo TimeZone { get; }
Property Value
Type | Description |
---|---|
System.TimeZoneInfo |
Methods
Clone()
Declaration
public override object Clone()
Returns
Type | Description |
---|---|
System.Object |
Overrides
GetCurrentDateTime()
Returns a System.DateTime instance that is set to the current date and time on this computer which is converted to the time in a specified time zone.
Declaration
public DateTime GetCurrentDateTime()
Returns
Type | Description |
---|---|
System.DateTime | The date and time in the destination time zone. |
GetTimeZoneOffset()
Returns Coordinated Universal Time (UTC) offset for current user time.
Declaration
public TimeSpan GetTimeZoneOffset()
Returns
Type | Description |
---|---|
System.TimeSpan | UTC offset for current user time. |
Remarks
Returned offset reflects whether time falls in time zone's standard time or its daylight saving time.
Implements
System.ICloneable