FBClient 2.5.2

Firebird 2.5.0.26074

 

I use this code to create a new user:

 

   Dim security As New FirebirdSql.Data.Services.FbSecurity

            security.ConnectionString = "User ID=Sysdba;Password=masterkey"

            Dim ud As FirebirdSql.Data.Services.FbUserData = New
FirebirdSql.Data.Services.FbUserData 'security.DisplayUser("Rick")

            ud.FirstName = "New"

            ud.LastName = "User"

            ud.RoleName = "FULL_ACCESS"

            ud.UserName = "NewUser"

            ud.UserPassword = "pass"

            security.AddUser(ud)

 

 

The user is created, but not joined to any Role in the database, which makes
sense given the connection string that has no Database stated.

 

What is the RoleName used for here?

 

How do I add this user to a Role?

 

Thanks,

Rick

------------------------------------------------------------------------------
Gaining the trust of online customers is vital for the success of any company
that requires sensitive data to be transmitted over the Web.   Learn how to 
best implement a security strategy that keeps consumers' information secure 
and instills the confidence they need to proceed with transactions.
http://p.sf.net/sfu/oracle-sfdevnl 
_______________________________________________
Firebird-net-provider mailing list
Firebird-net-provider@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/firebird-net-provider

Reply via email to