| IDRARestServerContactEnableEmail Method |
Enables email on the specified contact.
UriTemplate: /dra/domains/{domainFqdn}/contacts/enableemail/put
Namespace:
NetIQ.DRA.RestServiceLibrary
Assembly:
NetIQ.DRA.RestServiceLibrary (in NetIQ.DRA.RestServiceLibrary.dll) Version: 10.2.2.1
Syntax [OperationContractAttribute]
[WebInvokeAttribute(Method = "POST", ResponseFormat = WebMessageFormat.Json,
RequestFormat = WebMessageFormat.Json, BodyStyle = WebMessageBodyStyle.Wrapped,
UriTemplate = "/dra/domains/{domainFqdn}/contacts/enableemail/put")]
Stream ContactEnableEmail(
string domainFqdn,
string contactIdentifier,
Contact contact,
ConnectionParameters connectionParameters
)
<OperationContractAttribute>
<WebInvokeAttribute(Method := "POST", ResponseFormat := WebMessageFormat.Json,
RequestFormat := WebMessageFormat.Json, BodyStyle := WebMessageBodyStyle.Wrapped,
UriTemplate := "/dra/domains/{domainFqdn}/contacts/enableemail/put")>
Function ContactEnableEmail (
domainFqdn As String,
contactIdentifier As String,
contact As Contact,
connectionParameters As ConnectionParameters
) As Stream
Parameters
- domainFqdn
- Type: SystemString
The FQDN of the domain where the contact is located - contactIdentifier
- Type: SystemString
A string identifying the contact. Supported formats are: name or distinguishedName - contact
- Type: NetIQ.DRA.Common.Rest.DataModelsContact
A Contact object containing the mailbox details - connectionParameters
- Type: NetIQ.DRA.Common.Rest.DataModelsConnectionParameters
Optional ConnectionParameters to specify a DRA server and Assistant Admin credentials
Return Value
Type:
StreamA
RestResponse object containing the operation results
See Also