16.10.2015 Views

Getting Started with IBM Data Studio for DB2

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Chapter 2 – Managing your database environment 91<br />

authentication, which can be found at:<br />

http://www.ibm.com/developerworks/db2/library/techarticle/dm-<br />

0802kligerman/index.html). In this section we use the phrase Add User instead.<br />

To add a new user:<br />

1. In the Administration Explorer, expand the Users and Groups folder. Right-click on<br />

the Users folder and click Create User.<br />

2. The attributes of the new role are displayed in the Properties view. In the General<br />

tab, enter the name of the new user,MYUSER, in the name field.<br />

3. In the Privileges tab, click the >> drop-down arrow and select Schema, as shown<br />

in Figure 2.24.<br />

Figure 2.24 – Navigating to schema privileges <strong>for</strong> the new user<br />

4. Click the Grant New Privilege button ( ). In the Select a Schema window, select<br />

theGOSALES schema, and click OK.<br />

5. Select the check boxes in the grid to grantALTERIN,CREATEIN, andDROPIN<br />

authority toMYUSER, as shown in Figure 2.25.<br />

Figure 2.25 – Granting privileges to a user

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!