1) First create a table with username, password, and group_name


Fig( 1) : Data base table login_auth
Open your rpd
- Right-click on white space in the right pane, and then click on New Initialization Block from the right-click menu.
- Select Database from the Data Source Connection drop-down list.
Fig (2): Initialization block SQL
Fig (4) : Variable USER to Authentication Initialization block
- In the Initialization String area, type the SQL statement that will be issued at authentication time
Create a USER System session variable, Right click on white space in the right pane
Fig (3) : Creating a System Session variable
Assign the USER session variable to Authentication Initialization block
Fig (4) : Variable USER to Authentication Initialization block
No comments:
Post a Comment
.