User Class

Class that contains the details of a single user that is logged in.

Definition

Namespace: T4.API
Assembly: T4API.47 (in T4API.47.dll) Version: 4.7.0.0 (4.7.68.4)
C#
public class User
Inheritance
Object    User

Properties

Accounts The list of accounts that this user can see
Exchanges The list of exchanges that this user can see
IsMaster Whether this is the main api user or not
LoginResult The result of the login attempt
PwdComplexity Whether password complexity is required
PwdExpireDays How frequently passwords must be changed
PwdExpiresAt When the users current password expires and must be changed by.
PwdHistoryDays How long until a password can be reused
Roles Method that returns the list of roles that this user can perform.
UserID ID of the user
Username Username
UserSettings XML document containing any settings for this user and application.

Methods

ChangePassword Change the password for this user
EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
IsInRole Method to determine whether the user is in the specified role or not.
Logoff Logoff this user.
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
SaveUserSettings Save the current xml document user settings.
ToStringReturns a string that represents the current object.
(Inherited from Object)

Fields

Host Reference to the main host object

See Also