SessionMayGrantOrRevokePermission 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 can grant or revoke a permission for a given resource and operation.
[Repository.Item].[SessionMayGrantOrRevokePermission] ( @resourceKind, @resource, @operation )
Arguments
@resourceKind
Type: [Repository.Item].[SecuredResourceKindId]. The kind of resource.
@resource
Type: [Repository.Item].[SecuredResource]. The target resource.
@operation
Type: [Repository.Item].[SecuredOperationId]. The target operation.
Return Types
bit