Click or drag to resize

IDRARestServerUserCopy Method

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: 10.2.2.1
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: SystemString
The FQDN of the domain where the user is located
userIdentifier
Type: SystemString
A string identifying the user to copy. Supported formats are: name, friendly name or distinguishedName
user
Type: NetIQ.DRA.Common.Rest.DataModelsUser
A User object containing the properties of the destination user
connectionParameters
Type: NetIQ.DRA.Common.Rest.DataModelsConnectionParameters
Optional ConnectionParameters to specify a DRA server and/or Assistant Admin credentials

Return Value

Type: Stream
A GetUserPropertiesResponse containing the operation results
See Also