Exemplo n.º 1
0
 /// <summary>
 /// Deletes a windows user based on an Id.
 /// </summary>
 /// <param name="id">The id that was used to create the user.</param>
 public static void DeleteUser(string id)
 {
     WindowsUsersAndGroups.DeleteUser(id);
 }
Exemplo n.º 2
0
        /// <summary>
        /// Deletes a windows user based on an Id.
        /// </summary>
        /// <param name="id">The id that was used to create the user.</param>
        public static void DeleteDecoratedBasedUser(string id)
        {
            string decoratedUsername = DecorateUser(id);

            WindowsUsersAndGroups.DeleteUser(decoratedUsername);
        }