IDRARestServer UserRestore Method DRA REST Extensions SDK
Restore the specified user from the recycle bin
UriTemplate: /dra/domains/{domainFqdn}/users/restore

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/restore")]
Stream UserRestore(
	string domainFqdn,
	string userIdentifier,
	string restoreToContainer,
	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. Supported formats are: name, friendly name, or distinguishedName
restoreToContainer
Type: OnlineSystem String
Optional. distinguished name of an alternate container where the user should be restored. By default, the user is restored to the original container.
connectionParameters
Type: NetIQ.DRA.Common.Rest.DataModels ConnectionParameters
Optional ConnectionParameters to specify a DRA server and Assistant Admin credentials

Return Value

Type: OnlineStream
A RestResponse containing the operation results
See Also