ListUserPermissions List

SQLServer.Database.StoredProcedure Object

Description

Returns a list of Permission objects containing the specified user's privileges for this stored procedure.

Visual Basic

PermissionList = StoredProcedure.ListUserPermissions ( [UserName :=] idUser )

C++

HRESULT pStoredProcedure->ListUserPermissions (
SQLOLE_LPCSTR
idUser,
LPSQLOLEPERMISSIONLIST*
ppPermissionList );

Elements

Element Type Description

PermissionList PermissionList Returned list of Permission objects
idUser Identifier User

Reference

sp_helpprotect