Grant Method
Collapse the table of content
Expand the table of content

Database.Grant Method

 

Grants the specified set of permissions to the specified grantees on the database.

Namespace:   Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

NameDescription
System_CAPS_pubmethodGrant(DatabasePermissionSet, String)

Grants the specified set of permissions to the specified grantee on the database.

System_CAPS_pubmethodGrant(DatabasePermissionSet, String, Boolean)

Grants access to the specified permission to the grantee and the ability to grant access to other users on the database.

System_CAPS_pubmethodGrant(DatabasePermissionSet, String, Boolean, String)

Grants the specified set of permissions to the grantee and the ability to grant the set of permissions to other users on the database under an assumed role.

System_CAPS_pubmethodGrant(DatabasePermissionSet, String[])

Grants the specified set of permissions to the specified grantees on the database.

System_CAPS_pubmethodGrant(DatabasePermissionSet, String[], Boolean)

Grants access to the specified permission to the grantees and the ability to grant access to other users on the database.

System_CAPS_pubmethodGrant(DatabasePermissionSet, String[], Boolean, String)

Grants the specified set of permissions to the grantees and the ability to grant the set of permissions to other users on the database under an assumed role.

Return to top
Show:
© 2016 Microsoft