sysmail_help_profileaccount_sp
Lists the accounts associated with one or more Database Mail profiles.
What changes
- Input
- Lists the accounts associated with one or more Database Mail profiles.
- Output or change
- No write is stated in the Microsoft summary.
Syntax at a glance
dbo.sysmail_help_profileaccount_sp
{ [ @profile_id = ] profile_id
| [ @profile_name = ] N'profile_name' }
[ , [ @account_id = ] account_id ]
[ , [ @account_name = ] N'account_name' ]
[ ; ]
Work example
Lists the accounts associated with one or more Database Mail profiles.
Write a proposed call on paper. Name the target, required permission, expected change, and recovery step before any lab use.
Check your work What can this procedure change or start, and what permission does it need?
Open Microsoft Learn for full syntax, permissions, and details for your version.