Viewing user roles in a hierarchy  Determining role activation

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

Determining mutual exclusivity

Use the mut_excl_roles function to determine whether any two roles assigned to you are mutually exclusive, and the level at which they are mutually exclusive:

mut_excl(role1, role2, {membership | activation})

Any user can execute mut_excl_roles. If the specified roles, or any role contained by either specified role, are mutually exclusive, mut_excl_roles returns 1; if the roles are not mutually exclusive, mut_excl_roles returns 0.





Copyright © 2005. Sybase Inc. All rights reserved. Determining role activation

View this book as PDF