Share via


SessionMayReadResource Function (Repository.Item Schema)

[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 bit flag that specifies whether the caller has permission to read a given resource.

[Repository.Item].[SessionMayReadResource] ( @resourceKind, @resource )

Arguments

@resourceKind

Type: [Repository.Item].[SecuredResourceKindId]. The kind of resource.

@resource

Type: [Repository.Item].[SecuredResource]. The target resource.

Return Types

bit

Remarks

See Also

Reference

Repository.Item Functions
Repository.Item Schema

Send comments about this topic to Microsoft.