public void DeleteUser() { try { FbSecurity securitySvc = new FbSecurity(); securitySvc.ConnectionString = BuildServicesConnectionString(false); FbUserData user = new FbUserData(); user.UserName = "******"; securitySvc.DeleteUser(user); } catch (FbException ex) { if (ex.ErrorCode == 335544563) { } else { throw; } } }
public void DeleteUser() { FbSecurity securitySvc = new FbSecurity(); securitySvc.ConnectionString = BuildServicesConnectionString(false); FbUserData user = new FbUserData(); user.UserName = "******"; securitySvc.DeleteUser(user); }
public void AddDeleteUserTest() { var securitySvc = new FbSecurity(); securitySvc.ConnectionString = BuildServicesConnectionString(FbServerType, Compression, false); { var user = new FbUserData(); user.UserName = "******"; user.UserPassword = "******"; securitySvc.AddUser(user); } { var user = new FbUserData(); user.UserName = "******"; securitySvc.DeleteUser(user); } }