SQLServer.Database.View Object
Gives view privileges to a list of SQL Server users and groups.
View.Grant (
[Privileges :=] tPrivileges,
[GranteeNames :=] midUserGroupList,
[[ColumnNames :=] midColumnList] )
HRESULT pView->Grant (
SQLOLE_PRIVILEGE_TYPE tPrivileges,
SQLOLE_LPCSTR midUserGroupList,
SQLOLE_LPCSTR midColumnList = NULL );
Element | Type | Description |
---|
tPrivileges | SQLOLE_PRIVILEGE_TYPE | Types of statement privileges to grant |
midUserGroupList | MultiIdentifier | Delimited list of one or more users and groups |
midColumnList | MultiIdentifier | Delimited list of one or more columns |
GRANT