Question

Current user, date and time

Hi ,

How do i access the current user, date and time in 'source code' schema?

Regards,

Anitha Premkumar

Like

2 comments

In C#

UserConnection.CurrentUser.Id 
UserConnection.CurrentUser.ContactId 
UserConnection.CurrentUser.AccountId 
UserConnection.CurrentUser.GetCurrentDateTime()

In JS

this.Terrasoft.SysValue.CURRENT_USER_TIMEZONE_OFFSET

 

thank you Eugene.

Log in or register to comment