public void DisplayUsers() { try { GetServerVersion(); FbSecurity securitySvc = new FbSecurity(); securitySvc.ConnectionString = BuildServicesConnectionString(false); FbUserData[] users = securitySvc.DisplayUsers(); Console.WriteLine("User List"); for (int i = 0; i < users.Length; i++) { Console.WriteLine("User {0} name {1}", i, users[i].UserName); } } catch (FbException ex) { if (ex.ErrorCode == 335544563) { } else { throw; } } }
public void DisplayUsers() { var securitySvc = new FbSecurity(); securitySvc.ConnectionString = BuildServicesConnectionString(FbServerType, Compression, false); var users = securitySvc.DisplayUsers(); }
public void DisplayUsers() { FbSecurity securitySvc = new FbSecurity(); securitySvc.ConnectionString = BuildServicesConnectionString(false); FbUserData[] users = securitySvc.DisplayUsers(); Console.WriteLine("User List"); for (int i = 0; i < users.Length; i++) { Console.WriteLine("User {0} name {1}", i, users[i].UserName); } }
public void DisplayUsers() { FbSecurity securitySvc = new FbSecurity(); securitySvc.ConnectionString = BuildServicesConnectionString(FbServerType, Compression, false); FbUserData[] users = securitySvc.DisplayUsers(); TestContext.WriteLine("User List"); for (int i = 0; i < users.Length; i++) { TestContext.WriteLine("User {0} name {1}", i, users[i].UserName); } }