Candor.Security.UserManager.GetLatestUserSessions C# (CSharp) Method

GetLatestUserSessions() public static method

Gets the latest session(s) for a given user.
public static GetLatestUserSessions ( System.Guid userId, Int32 take ) : List
userId System.Guid The unique identity.
take System.Int32 The maximum number of sessions to retrieve.
return List
        public static List<UserSession> GetLatestUserSessions(Guid userId, Int32 take)
        {
            return Provider.GetLatestUserSessions(userId, take);
        }