Share via


GrantPrincipalFolderAccess 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 principal permission to perform an operation on a Folder resource.

[Repository.Item].[GrantPrincipalFolderAccess] ( @principal, @folderPath, @mayRead, @mayUpdate, @mayGrantOrRevoke )

Arguments

@principal

Type: sysname. The principal name.

@folderPath

Type: nvarchar(max). A Folder path delimited by forward-slashes (for example, N'Applications/MyApplication').

@mayRead

Type: bit. A bit flag that specifies that the principal can read data that is owned by the Folder.

@mayUpdate

Type: bit. A bit flag that specifies that the principal can update data that is owned by the Folder.

@mayGrantOrRevoke

Type: bit. 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 Procedures
Repository.Item Schema

Send comments about this topic to Microsoft.