@model Disco.Web.Areas.Config.Models.Enrolment.IndexModel @{ Authorization.Require(Claims.Config.Enrolment.Show); var canConfig = Authorization.Has(Claims.Config.Enrolment.Configure); var canShowStatus = Authorization.Has(Claims.Config.Enrolment.ShowStatus); ViewBag.Title = Html.ToBreadcrumb("Configuration", MVC.Config.Config.Index(), "Enrolment"); }

Apple Mac Secure Enrol

Username: @if (canConfig) { @Html.TextBoxFor(model => model.MacSshUsername) @AjaxHelpers.AjaxSave() @AjaxHelpers.AjaxLoader() } else { if (string.IsNullOrEmpty(Model.MacSshUsername)) { <None Specified> } else { @Model.MacSshUsername } }
Password: @if (canConfig) { @AjaxHelpers.AjaxSave() @AjaxHelpers.AjaxLoader() } else { ******** }
Instructions: The above credentials must be able to connect to the requesting Apple Mac client via SSH. Enter/Script the following command: This url will return a JSON response containing basic information about the enrolment.
This command makes use of cURL (bundled with OSX). Other methods can also trigger a Mac Secure Enrol, such as an anchor (<a>) or <script> tag embedded on the organisation's intranet.
@if (canShowStatus && Authorization.Has(Claims.Config.Logging.Show)) {

Live Enrolment Logging

@Html.Partial(MVC.Config.Shared.Views.LogEvents, new Disco.Web.Areas.Config.Models.Shared.LogEventsModel() { IsLive = true, TakeFilter = 100, StartFilter = DateTime.Today.AddDays(-1), ModuleFilter = Disco.Services.Devices.Enrolment.EnrolmentLog.Current, ViewPortHeight = 250 }) }
@if (Authorization.Has(Claims.Config.Enrolment.DownloadBootstrapper)) { @Html.ActionLinkButton("Download Bootstrapper", MVC.Services.Client.Bootstrapper()) } @if (canShowStatus) { @Html.ActionLinkButton("Enrolment Status", MVC.Config.Enrolment.Status()) }