IDRARestServer UserCopy Method DRA REST Extensions SDK
Copy the specified user to a new user
UriTemplate: /dra/domains/{domainFqdn}/users/copies

Namespace: NetIQ.DRA.RestServiceLibrary
Assembly: NetIQ.DRA.RestServiceLibrary (in NetIQ.DRA.RestServiceLibrary.dll) Version: 1.1.0.318 (1.1.0.318)
Syntax

[OperationContractAttribute]
[WebInvokeAttribute(Method = "POST", ResponseFormat = WebMessageFormat.Json, 
	RequestFormat = WebMessageFormat.Json, BodyStyle = WebMessageBodyStyle.Wrapped, 
	UriTemplate = "/dra/domains/{domainFqdn}/users/copies/post")]
Stream UserCopy(
	string domainFqdn,
	string userIdentifier,
	User user,
	ConnectionParameters connectionParameters
)

Parameters

domainFqdn
Type: OnlineSystem String
The FQDN of the domain where the user is located
userIdentifier
Type: OnlineSystem String
A string identifying the user to copy. Supported formats are: name, friendly name or distinguishedName
user
Type: NetIQ.DRA.Common.Rest.DataModels User
A User object containing the properties of the destination user
connectionParameters
Type: NetIQ.DRA.Common.Rest.DataModels ConnectionParameters
Optional ConnectionParameters to specify a DRA server and/or Assistant Admin credentials

Return Value

Type: OnlineStream
A GetUserPropertiesResponse containing the operation results
See Also