/// <summary>
 /// DisableUserData method implementation
 /// </summary>
 internal void DisableUserData(MFAUserList registrations)
 {
     try
     {
         MFAUserList results = MMCService.DisableUser(registrations);
         EnableDisableRows(results);
     }
     catch (Exception ex)
     {
         MessageBoxParameters messageBoxParameters = new MessageBoxParameters
         {
             Text    = ex.Message,
             Buttons = MessageBoxButtons.OK,
             Icon    = MessageBoxIcon.Error
         };
         SnapIn.Console.ShowDialog(messageBoxParameters);
     }
 }
Beispiel #2
0
        /// <summary>
        /// DisableUserData method implementation
        /// </summary>
        internal void DisableUserData(MFAUserList registrations)
        {
            MFAUserList results = MMCService.DisableUser(registrations);

            EnableDisableRows(results);
        }