Open this page in the API Guide

IAccountRegistrationService.DenyRequest Method

Denies an account registration request.

Namespace:  Dundas.BI.AccountServices
Assembly:  Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (25.1.0.1000)
Syntax
void DenyRequest(
	Guid requestId,
	bool sendResponseMessage,
	string? additionalMessage
)

Parameters

requestId
Type: System.Guid
The ID of the request.
sendResponseMessage
Type: System.Boolean
true if the registrant should be informed (by email) that his request has been denied; otherwise false.
additionalMessage
Type: System.String
An optional message to be sent to the user along with the registration email.
Exceptions
ExceptionCondition
ArgumentExceptionrequestId is Empty.
NotFoundExceptionThe request with the specified ID does not exist.
NoPrivilegeExceptionThe caller does not have administrative privileges.
InvalidSessionExceptionThe caller context is not associated with a valid session.
See Also