namespace AyaNova.Biz
{

    /// <summary>
    /// All AyaNova user types
    /// </summary>
    public enum UserType : int
    {
        Administrator = 1,
        Schedulable = 2,
        NonSchedulable = 3,
        Customer = 4,
        HeadOffice = 5,
        Utility = 6,
        Subcontractor = 7
    }


}//eons 

/*

///////////////////////////////////////////////////////////
//  UserTypes.cs
//  Implementation of Class UserTypes
//  CSLA type: enumeration 
//  Created on: 07-Jun-2004 8:41:44 AM
//  Object design: Joyce  
///////////////////////////////////////////////////////////

using System.ComponentModel;


namespace GZTW.AyaNova.BLL {
    /// <summary>
    /// Variations of <see cref="User"/> types
    /// </summary>
	public enum UserTypes : int {		
		/// <summary>
		/// This is the special account used only for updates, for customizing layout, etc
		/// </summary>
		[Description("LT:UserTypes.Label.Administrator")] Administrator = 1,
		/// <summary>
		/// This is a user that can be assigned to a workorder or schedule and consumes an AyaNova license
		/// </summary>
		[Description("LT:UserTypes.Label.Schedulable")] Schedulable = 2,
        /// <summary>
        /// Standard user that can use all aspects of AyaNova but can not be chosen to assign to a work order or schedule
        /// Does not consume an AyaNova license
        /// </summary>
		[Description("LT:UserTypes.Label.NonSchedulable")] NonSchedulable = 3,
        /// <summary>
        /// Client's login user account for WBI
        /// </summary>
		[Description("LT:UserTypes.Label.Client")] Client = 4,
        /// <summary>
        /// HeadOffice's login user account for WBI
        /// </summary>
		[Description("LT:UserTypes.Label.HeadOffice")] HeadOffice = 5,
/// <summary>
/// Utility user type for internal processing with limited functionality
/// ATTN. API users: Do not create or set a user to this type in your code, you will be dissapointed and will break things. :)
/// </summary>
		[Description("UTILITY")] Utility = 6
		//*** IF MORE ADDED USER OBJECT USERTYPE PROPERTIES
		//   BROKEN RULES MUST BE UPDATED AND SQL SERVER USER TABLE CHECK CONSTRAINT
		//   FOR USERTYPE VALUE ***

	}//end UserTypes

}//end namespace GZTW.AyaNova.BLL
 */
