SQLServer.Database.DBObject Object
Returns a list of Permission objects containing the specified user's privileges for this object.
PermissionList = DBObject.ListUserPermissions ( [UserName :=] idUser )
HRESULT pDBObject->ListUserPermissions (
SQLOLE_LPCSTR idUser,
LPSQLOLEPERMISSIONLIST* ppPermissionList );
Element | Type | Description |
---|
PermissionList | PermissionList | Returned list of Permission objects |
idUser | Identifier | User |
sp_helpprotect