Share via


CurrentPermissions Function (Repository.Item Module)

[This content is no longer valid. For the latest information on "M", "Quadrant", SQL Server Modeling Services, and the Repository, see the Model Citizen blog.]

Returns a list of permissions for the current database session. This list includes resources and the operations that are allowed on those resources.

CurrentPermissions()

Table Returned

Field Data type Description

ResourceKind

Guid

The resource kind.

ResourceKindDescription

Text

The description of the resource kind (typically available in several languages).

Resource

General

The secured resource.

Operation

Guid

The permitted operation on the resource.

OperationDescription

Text

The description of the permitted operation on the resource (typically available in several languages).

MayGrantOrRevoke

Logical

A bit flag that indicates whether the current user is allowed to grant or revoke this resource operation to other principals.

Remarks

See Also

Reference

Repository.Item Functions
Repository.Item Module

Send comments about this topic to Microsoft.