GrantClaimPermission Procedure (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.]
Grants a claim permission to perform an operation on a resource.
[Repository.Item].[GrantClaimPermission] ( @claimKind, @claim, @resourceKind, @resource, @operation, @mayGrantOrRevoke )
Arguments
@claimKind
Type: [Repository.Item].[SecurityClaimKindId]. The kind of the claim. For example, this could refer to a SID claim kind.
@claim
Type: [Repository.Item].[SecurityClaim]. The value of the claim. For example, if the claim kind were a SID, this field contains the binary representation of the SID.
@resourceKind
Type: [Repository.Item].[SecuredResourceKindId]. The identifier of the resource kind.
@resource
Type: [Repository.Item].[SecuredResource]. The secured resource.
@operation
Type: [Repository.Item].[SecuredOperationId]. The operation permitted on the resource.
@mayGrantOrRevoke
Type: bit. A bit flag that indicates whether the current claim is allowed to grant or revoke this resource operation to other claims.