Gets access to all user parameters.
SYNTAX
public User User { get; }
EXAMPLE
An object ‘User’ for the currently selected account is created in the next example. An object ‘User’ provides access to all the user properties. using System; using System.Collections; using System.Collections.Generic; using System.Text; using System.Drawing; using PTLRuntime.NETScript; namespace UserProperties { public class UserProperties : NETStrategy { Account myAcc; //creation of the object 'Account'. User myUser;//creation of the object 'User'. public override void Init() { myAcc = Accounts.Current; //initialization of the currently used account. myUser = myAcc.User; //User initialization. //outputting of all the 'User' properties. Print( "\nLogin :\t" + myUser.Login+ "\nId :\t" + myUser.Id+ "\nEmail :\t" + myUser.Email+ "\nFirstName :\t"+myUser.FirstName+ "\nMiddleName :\t"+myUser.MiddleName+ "\nLastName :\t"+myUser.LastName+ "\nTelephoneNumber :\t"+myUser.TelephoneNumber+ "\nClientType :\t"+myUser.ClientType+ "\nIsBroker :\t"+myUser.IsBroker ); } } }