/*
Kooboo is a content management system based on ASP.NET MVC framework. Copyright 2009 Yardi Technology Limited.
This program is free software: you can redistribute it and/or modify it under the terms of the
GNU General Public License version 3 as published by the Free Software Foundation.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program.
If not, see http://www.kooboo.com/gpl3/.
*/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Everest.CmsServices.Models{
public class UserInfo
{
/// <summary>
/// Gets or sets the name of the user.
/// </summary>
/// <value>The name of the user.</value>
public string UserName { get; set; }
/// <summary>
/// Gets or sets the applications.
/// </summary>
/// <value>The applications.</value>
public string[] Applications { get; set; }
/// <summary>
/// Gets or sets the user roles.
/// </summary>
/// <value>The user roles.</value>
public string[] UserRoles { get; set; }
/// <summary>
/// Gets or sets a value indicating whether this instance is administrator.
/// </summary>
/// <value>
/// <c>true</c> if this instance is administrator; otherwise, <c>false</c>.
/// </value>
public bool IsAdministrator { get; set; }
}
}
|