| IDRARestServerContactCopy Method |
Copy the specified contact to a new contact
UriTemplate: /dra/domains/{domainFqdn}/contacts/copies
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/copies/post")]
Stream ContactCopy(
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/copies/post")>
Function ContactCopy (
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 to copy. Supported formats are: name or distinguishedName - contact
- Type: NetIQ.DRA.Common.Rest.DataModelsContact
A User object containing the properties of the destination contact - connectionParameters
- Type: NetIQ.DRA.Common.Rest.DataModelsConnectionParameters
Optional ConnectionParameters to specify a DRA server and Assistant Admin credentials
Return Value
Type:
StreamA
GetContactPropertiesResponse object containing the operation results
See Also