SQLServer.Database.User Object
Returns a list of Permission objects containing the statement privileges for this user.
PermissionList = User.ListDatabasePermissions ( [[PrivilegeTypes :=] tPrivileges] )
HRESULT pUser->ListDatabasePermissions (
LPSQLOLEPERMISSIONLIST* ppPermissionList ,
SQLOLE_PRIVILEGE_TYPE tPrivileges =
SQLOLEPriv_AllDatabasePrivs );
Element | Type | Description |
---|
PermissionList | PermissionList | Returned list of Permission objects |
tPrivileges | SQLOLE_PRIVILEGE_TYPE | Types of statement privileges to list |