Configuring user-defined roles  Adding and removing passwords from a role

Chapter 14: Managing Adaptive Server Logins, Database Users, and Client Connections

Creating a user-defined role

Use the create role command to create a role. The syntax is:

create role role_name [with passwd "password"]

where:

For example, to create the intern_role without a password, enter:

create role intern_role

To create the doctor_role and assign the password “physician”, enter:

create role doctor_role with passwd "physician"




Copyright © 2005. Sybase Inc. All rights reserved. Adding and removing passwords from a role

View this book as PDF