bin/projects/dbatools/dbatools/Configuration/ConfigScope.cs

using System;

namespace Sqlcollaborative.Dbatools.Configuration
{
    /// <summary>
    /// The location where a setting was applied
    /// </summary>
    [Flags]
    public enum ConfigScope
    {
        /// <summary>
        /// The configuration is set as default value for the user
        /// </summary>
        UserDefault = 1,

        /// <summary>
        /// The configuration is enforced for the user
        /// </summary>
        UserMandatory = 2,

        /// <summary>
        /// The configuration is set as default value for all users on the system
        /// </summary>
        SystemDefault = 4,

        /// <summary>
        /// The configuration is enforced for all users on the system.
        /// </summary>
        SystemMandatory = 8
    }
}