From 135168b0e0640211aee5cda9285cffb184385e83 Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Fri, 3 Jan 2014 21:35:41 -0500 Subject: support adding additional users to sessions --- MediaBrowser.Model/Session/SessionInfoDto.cs | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) (limited to 'MediaBrowser.Model/Session') diff --git a/MediaBrowser.Model/Session/SessionInfoDto.cs b/MediaBrowser.Model/Session/SessionInfoDto.cs index 80f6ea2c0..f3980e2e4 100644 --- a/MediaBrowser.Model/Session/SessionInfoDto.cs +++ b/MediaBrowser.Model/Session/SessionInfoDto.cs @@ -43,6 +43,12 @@ namespace MediaBrowser.Model.Session /// The name of the user. public string UserName { get; set; } + /// + /// Gets or sets the additional users present. + /// + /// The additional users present. + public List AdditionalUsersPresent { get; set; } + /// /// Gets or sets the application version. /// @@ -128,5 +134,27 @@ namespace MediaBrowser.Model.Session public bool SupportsRemoteControl { get; set; } public event PropertyChangedEventHandler PropertyChanged; + + public SessionInfoDto() + { + AdditionalUsersPresent = new List(); + } + } + + /// + /// Class SessionUserInfo. + /// + public class SessionUserInfo + { + /// + /// Gets or sets the user identifier. + /// + /// The user identifier. + public string UserId { get; set; } + /// + /// Gets or sets the name of the user. + /// + /// The name of the user. + public string UserName { get; set; } } } -- cgit v1.2.3