mirror of
https://github.com/farcasclaudiu/myfriendsaround.git
synced 2026-06-28 19:01:43 +03:00
44 lines
1.6 KiB
XML
44 lines
1.6 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<Permissions xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn:Microsoft.VisualStudio.Data.Schema.Permissions" Version="1.0">
|
|
<!-- The examples below are provided to illustrate how permissions
|
|
are defined in the project system for Databases, Objects,
|
|
and Columns.
|
|
|
|
GRANT Database Permissions
|
|
|
|
<PermissionStatement Action ="GRANT">
|
|
<Permission>CREATE TABLE</Permission>
|
|
<Grantee>User1</Grantee>
|
|
</PermissionStatement>
|
|
|
|
GRANT Object Permission
|
|
|
|
<PermissionStatement Action ="GRANT">
|
|
<Permission>SELECT</Permission>
|
|
<Grantee>User1</Grantee>
|
|
<Object Name ="Table1" Schema ="User1" Type ="OBJECT"/>
|
|
</PermissionStatement>
|
|
|
|
DENY Object Permission
|
|
|
|
<PermissionStatement Action ="DENY">
|
|
<Permission>DELETE</Permission>
|
|
<Grantee>User1</Grantee>
|
|
<Object Name ="Table1" Schema ="User1" Type ="OBJECT"/>
|
|
</PermissionStatement>
|
|
|
|
GRANT Object Column Permission
|
|
|
|
<PermissionStatement Action ="GRANT">
|
|
<Permission>SELECT</Permission>
|
|
<Grantee>User1</Grantee>
|
|
<Object Name ="Table1" Schema ="User1" Type ="OBJECT">
|
|
<Columns Treatment ="INCLUDE">
|
|
<Column Name="Col1"/>
|
|
<Column Name="Col2"/>
|
|
<Column Name="…"/>
|
|
</Columns>
|
|
</Object>
|
|
</PermissionStatement>
|
|
-->
|
|
</Permissions> |