Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Zihadul Azam 26 posts 171 karma points c-trib
    Sep 21, 2017 @ 08:29
    Zihadul Azam
    0

    Get User update & create date

    I'm trying to get update & creation date of an exists User after save. But all time these values are 01/01/0001 00:00.

    private void UserServiceSaved(IUserService sender, SaveEventArgs<IUser> e)
    {
            IUser user = e.SavedEntities.FirstOrDefault();
            var uDate = user.UpdateDate;
            var cDate = user.CreateDate;
    }
    

    How can I save & get these values ?

    -Thanks :)

  • Tobias Klika 101 posts 570 karma points c-trib
    Sep 26, 2017 @ 14:31
    Tobias Klika
    1

    Do these dates have values when you inspect the user in the backoffice?

  • Zihadul Azam 26 posts 171 karma points c-trib
    Sep 27, 2017 @ 10:24
    Zihadul Azam
    0

    In version 7.7.1 backoffice shows these values. I think they solved this problem in this latest version, I've to try.

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies