public bool DeleteUserFromGroup(string group) { if (ParentPage == null) { return(false); } uint result = LUGAPI.NetDeleteUserFromGroup( _servername, group, _username); if (result == (uint)LUGAPI.WinError.ERROR_SUCCESS) { return(true); } return(false); }
public bool DeleteUserFromGroup(string user) { return(!Convert.ToBoolean(LUGAPI.NetDeleteUserFromGroup(_servername, _group, user))); }