Click or drag to resize

IDRARestServerGetSessionRequest Method

The session object(s) defined for a specified computer When sessionIdentifier is defined, a single session properties is returned. (computerIdentifier can be null in this case) Otherwise a list of sessions in computer is returned. (computerIdentifier CANNOT be null in this case)
UriTemplate: /dra/domains/{domainFqdn}/computer/sessions/get

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}/computer/sessions/get")]
Stream GetSessionRequest(
	string domainFqdn,
	string computerIdentifier,
	string sessionIdentifier,
	string[] attributes,
	GetInfoOptions getInfoOptions,
	ConnectionParameters connectionParameters
)

Parameters

domainFqdn
Type: SystemString
The FQDN of the domain where the session is located
computerIdentifier
Type: SystemString
A String computer name that contain the session
sessionIdentifier
Type: SystemString
A string identifying the source session. Supported formats are: distinguishedName or OnePointPath
attributes
Type: SystemString
An optional list of properties to retrieve from the server
getInfoOptions
Type: NetIQ.DRA.Common.Rest.DataModelsGetInfoOptions
An optional GetInfoOptions structure that controls what data is returned
connectionParameters
Type: NetIQ.DRA.Common.Rest.DataModelsConnectionParameters
Optional ConnectionParameters to specify a DRA server and Assistant Admin credentials

Return Value

Type: Stream
A SessionListResponse containing the operation results
See Also