role_name

Returns the role name of the specified role ID.

Syntax

role_name(role_id)

Parameters

Examples

Usage

See also Transact-SQL Users Guide.

Standards

ANSI SQL – Compliance level: Transact-SQL extension

Permissions

Any user can execute role_name.

Related reference
mut_excl_roles
proc_role
role_contain
role_id