ADC NITRO APIs

rdpclientprofile

Configuration for RDP clientprofile resource.

Properties

(click to see Operations )

Name Data Type Permissions Description
name <String> Read-write The name of the rdp profile.

Minimum length = 1
rdpurloverride <String> Read-write This setting determines whether the RDP parameters supplied in the vpn url override those specified in the RDP profile.

Default value: ENABLE

Possible values = ENABLE, DISABLE
redirectclipboard <String> Read-write This setting corresponds to the Clipboard check box on the Local Resources tab under Options in RDC.

Default value: ENABLE

Possible values = ENABLE, DISABLE
redirectdrives <String> Read-write This setting corresponds to the selections for Drives under More on the Local Resources tab under Options in RDC.

Default value: DISABLE

Possible values = ENABLE, DISABLE
redirectprinters <String> Read-write This setting corresponds to the selection in the Printers check box on the Local Resources tab under Options in RDC.

Default value: ENABLE

Possible values = ENABLE, DISABLE
redirectcomports <String> Read-write This setting corresponds to the selections for comports under More on the Local Resources tab under Options in RDC.

Default value: DISABLE

Possible values = ENABLE, DISABLE
redirectpnpdevices <String> Read-write This setting corresponds to the selections for pnpdevices under More on the Local Resources tab under Options in RDC.

Default value: DISABLE

Possible values = ENABLE, DISABLE
keyboardhook <String> Read-write This setting corresponds to the selection in the Keyboard drop-down list on the Local Resources tab under Options in RDC.

Default value: InFullScreenMode

Possible values = OnLocal, OnRemote, InFullScreenMode
audiocapturemode <String> Read-write This setting corresponds to the selections in the Remote audio area on the Local Resources tab under Options in RDC.

Default value: DISABLE

Possible values = ENABLE, DISABLE
videoplaybackmode <String> Read-write This setting determines if Remote Desktop Connection (RDC) will use RDP efficient multimedia streaming for video playback.

Default value: ENABLE

Possible values = ENABLE, DISABLE
multimonitorsupport <String> Read-write Enable/Disable Multiple Monitor Support for Remote Desktop Connection (RDC).

Default value: ENABLE

Possible values = ENABLE, DISABLE
rdpcookievalidity <Double> Read-write RDP cookie validity period. RDP cookie validity time is applicable for new connection and also for any re-connection that might happen, mostly due to network disruption or during fail-over.

Default value: 60

Minimum value = 1

Maximum value = 86400
addusernameinrdpfile <String> Read-write Add username in rdp file.

Default value: NO

Possible values = YES, NO
rdpfilename <String> Read-write RDP file name to be sent to End User.

Minimum length = 1
rdphost <String> Read-write Fully-qualified domain name (FQDN) of the RDP Listener.

Maximum length = 252
rdplistener <String> Read-write IP address (or) Fully-qualified domain name(FQDN) of the RDP Listener with the port in the format IP:Port (or) FQDN:Port.

Maximum length = 255
rdpcustomparams <String> Read-write Option for RDP custom parameters settings (if any). Custom params needs to be separated by ';'.

Default value: 0

Minimum length = 1
psk <String> Read-write Pre shared key value.

Default value: 0
randomizerdpfilename <String> Read-write Will generate unique filename everytime rdp file is downloaded by appending output of time() function in the format <rdpfileName>_<time>.rdp. This tries to avoid the pop-up for replacement of existing rdp file during each rdp connection launch, hence providing better end-user experience.

Default value: NO

Possible values = YES, NO
rdplinkattribute <String> Read-write Citrix Gateway allows the configuration of rdpLinkAttribute parameter which can be used to fetch a list of RDP servers(IP/FQDN) that a user can access, from an Authentication server attribute(Example: LDAP, SAML). Based on the list received, the RDP links will be generated and displayed to the user.

Note: The Attribute mentioned in the rdpLinkAttribute should be fetched through corresponding authentication method.
rdpvalidateclientip <String> Read-write This setting determines whether RDC launch is initiated by the valid client IP.

Default value: DISABLE

Possible values = ENABLE, DISABLE
builtin <String[]> Read-only Indicates that a variable is a built-in (SYSTEM INTERNAL) type.

Possible values = MODIFIABLE, DELETABLE, IMMUTABLE, PARTITION_ALL
feature <String> Read-only The feature to be checked while applying this config.
__count <Double> Read-only count parameter

Operations

(click to see Properties )

  • ADD
  • UPDATE
  • UNSET
  • GET (ALL)
  • GET
  • COUNT
  • DELETE

Some options that you can use for each operations:

  • Getting warnings in response: NITRO allows you to get warnings in an operation by specifying the 'warning' query parameter as 'yes'. For example, to get warnings while connecting to the NetScaler appliance, the URL is as follows:

    http:// <netscaler-ip-address> /nitro/v1/config/login?warning=yes

    If any, the warnings are displayed in the response payload with the HTTP code '209 X-NITRO-WARNING'.

  • Authenticated access for individual NITRO operations: NITRO allows you to logon to the NetScaler appliance to perform individual operations. You can use this option instead of creating a NITRO session (using the login object) and then using that session to perform all operations,

    To do this, you must specify the username and password in the request header of the NITRO request as follows:

    X-NITRO-USER: <username>

    X-NITRO-PASS: <password>

    Note: In such cases, make sure that the request header DOES not include the following:

    Cookie:NITRO_AUTH_TOKEN= <tokenvalue>

*Note: * Mandatory parameters are marked in red and placeholder content is marked in green

add

URL: http:// <netscaler-ip-address> /nitro/v1/config/rdpclientprofile HTTP Method: POST

Request Headers:

Cookie:NITRO_AUTH_TOKEN= <tokenvalue>

Content-Type:application/json

Request Payload:

{"rdpclientprofile":{
<b>"name":<String_value>,
</b>"rdpurloverride":<String_value>,
"redirectclipboard":<String_value>,
"redirectdrives":<String_value>,
"redirectprinters":<String_value>,
"redirectcomports":<String_value>,
"redirectpnpdevices":<String_value>,
"keyboardhook":<String_value>,
"audiocapturemode":<String_value>,
"videoplaybackmode":<String_value>,
"multimonitorsupport":<String_value>,
"rdpcookievalidity":<Double_value>,
"addusernameinrdpfile":<String_value>,
"rdpfilename":<String_value>,
"rdphost":<String_value>,
"rdplistener":<String_value>,
"rdpcustomparams":<String_value>,
"psk":<String_value>,
"randomizerdpfilename":<String_value>,
"rdplinkattribute":<String_value>,
"rdpvalidateclientip":<String_value>
}}

<!--NeedCopy-->

Response: HTTP Status Code on Success: 201 Created

HTTP Status Code on Failure: 4xx <string> (for general HTTP errors) or 5xx <string> (for NetScaler-specific errors). The response payload provides details of the error

update

URL: http:// <netscaler-ip-address> /nitro/v1/config/rdpclientprofile HTTP Method: PUT

Request Headers:

Cookie:NITRO_AUTH_TOKEN= <tokenvalue>

Content-Type:application/json

Request Payload:

{"rdpclientprofile":{
<b>"name":<String_value>,
</b>"rdpurloverride":<String_value>,
"redirectclipboard":<String_value>,
"redirectdrives":<String_value>,
"redirectprinters":<String_value>,
"redirectcomports":<String_value>,
"redirectpnpdevices":<String_value>,
"keyboardhook":<String_value>,
"audiocapturemode":<String_value>,
"videoplaybackmode":<String_value>,
"multimonitorsupport":<String_value>,
"rdpcookievalidity":<Double_value>,
"addusernameinrdpfile":<String_value>,
"rdpfilename":<String_value>,
"rdphost":<String_value>,
"rdplistener":<String_value>,
"rdpcustomparams":<String_value>,
"psk":<String_value>,
"randomizerdpfilename":<String_value>,
"rdplinkattribute":<String_value>,
"rdpvalidateclientip":<String_value>
}}

<!--NeedCopy-->

Response: HTTP Status Code on Success: 200 OK

HTTP Status Code on Failure: 4xx <string> (for general HTTP errors) or 5xx <string> (for NetScaler-specific errors). The response payload provides details of the error

unset

URL: http:// <netscaler-ip-address> /nitro/v1/config/rdpclientprofile? action=unset HTTP Method: POST

Request Headers:

Cookie:NITRO_AUTH_TOKEN= <tokenvalue>

Content-Type:application/json

Request Payload:

{"rdpclientprofile":{
<b>"name":<String_value>,
</b>"rdpurloverride":true,
"redirectclipboard":true,
"redirectdrives":true,
"redirectprinters":true,
"redirectcomports":true,
"redirectpnpdevices":true,
"keyboardhook":true,
"audiocapturemode":true,
"videoplaybackmode":true,
"multimonitorsupport":true,
"rdpcookievalidity":true,
"addusernameinrdpfile":true,
"rdpfilename":true,
"rdphost":true,
"rdplistener":true,
"rdpcustomparams":true,
"psk":true,
"randomizerdpfilename":true,
"rdplinkattribute":true,
"rdpvalidateclientip":true
}}

<!--NeedCopy-->

Response: HTTP Status Code on Success: 200 OK

HTTP Status Code on Failure: 4xx <string> (for general HTTP errors) or 5xx <string> (for NetScaler-specific errors). The response payload provides details of the error

delete

URL: http:// <netscaler-ip-address> /nitro/v1/config/rdpclientprofile/ name_value<String> HTTP Method: DELETE

Request Headers:

Cookie:NITRO_AUTH_TOKEN= <tokenvalue>

Response: HTTP Status Code on Success: 200 OK

HTTP Status Code on Failure: 4xx <string> (for general HTTP errors) or 5xx <string> (for NetScaler-specific errors). The response payload provides details of the error

get (all)

URL: http:// <netscaler-ip-address> /nitro/v1/config/rdpclientprofile Query-parameters: attrs http:// <netscaler-ip-address> /nitro/v1/config/rdpclientprofile? attrs=property-name1,property-name2

Use this query parameter to specify the resource details that you want to retrieve.

filter http:// <netscaler-ip-address> /nitro/v1/config/rdpclientprofile? filter=property-name1:property-val1,property-name2:property-val2

Use this query-parameter to get the filtered set of rdpclientprofile resources configured on NetScaler.Filtering can be done on any of the properties of the resource.

view http:// <netscaler-ip-address> /nitro/v1/config/rdpclientprofile? view=summary

Use this query-parameter to get the summary output of rdpclientprofile resources configured on NetScaler.

Note: By default, the retrieved results are displayed in detail view (?view=detail).

pagination http:// <netscaler-ip-address> /nitro/v1/config/rdpclientprofile? pagesize=#no;pageno=#no

Use this query-parameter to get the rdpclientprofile resources in chunks.

HTTP Method: GET

Request Headers:

Cookie:NITRO_AUTH_TOKEN= <tokenvalue>

Accept:application/json

Response: HTTP Status Code on Success: 200 OK

HTTP Status Code on Failure: 4xx <string> (for general HTTP errors) or 5xx <string> (for NetScaler-specific errors). The response payload provides details of the error

Response Header:

Content-Type:application/json

Response Payload:

{ "rdpclientprofile": [ {
"name":<String_value>,
"rdpurloverride":<String_value>,
"redirectclipboard":<String_value>,
"redirectdrives":<String_value>,
"redirectprinters":<String_value>,
"redirectcomports":<String_value>,
"redirectpnpdevices":<String_value>,
"keyboardhook":<String_value>,
"audiocapturemode":<String_value>,
"videoplaybackmode":<String_value>,
"multimonitorsupport":<String_value>,
"rdpcookievalidity":<Double_value>,
"addusernameinrdpfile":<String_value>,
"rdpfilename":<String_value>,
"rdphost":<String_value>,
"rdplistener":<String_value>,
"rdpcustomparams":<String_value>,
"psk":<String_value>,
"randomizerdpfilename":<String_value>,
"rdplinkattribute":<String_value>,
"builtin":<String[]_value>,
"feature":<String_value>,
"rdpvalidateclientip":<String_value>
}]}

<!--NeedCopy-->

get

URL: http:// <netscaler-ip-address> /nitro/v1/config/rdpclientprofile/ name_value<String> Query-parameters: attrs http:// <netscaler-ip-address> /nitro/v1/config/rdpclientprofile/ name_value<String> ? attrs=property-name1,property-name2

Use this query parameter to specify the resource details that you want to retrieve.

view http:// <netscaler-ip-address> /nitro/v1/config/rdpclientprofile/ name_value<String> ? view=summary

Use this query-parameter to get the summary output of rdpclientprofile resources configured on NetScaler.

Note: By default, the retrieved results are displayed in detail view (?view=detail).

HTTP Method: GET

Request Headers:

Cookie:NITRO_AUTH_TOKEN= <tokenvalue>

Accept:application/json

Response: HTTP Status Code on Success: 200 OK

HTTP Status Code on Failure: 4xx <string> (for general HTTP errors) or 5xx <string> (for NetScaler-specific errors). The response payload provides details of the error

Response Header:

Content-Type:application/json

Response Payload:

{  "rdpclientprofile": [ {
"name":<String_value>,
"rdpurloverride":<String_value>,
"redirectclipboard":<String_value>,
"redirectdrives":<String_value>,
"redirectprinters":<String_value>,
"redirectcomports":<String_value>,
"redirectpnpdevices":<String_value>,
"keyboardhook":<String_value>,
"audiocapturemode":<String_value>,
"videoplaybackmode":<String_value>,
"multimonitorsupport":<String_value>,
"rdpcookievalidity":<Double_value>,
"addusernameinrdpfile":<String_value>,
"rdpfilename":<String_value>,
"rdphost":<String_value>,
"rdplistener":<String_value>,
"rdpcustomparams":<String_value>,
"psk":<String_value>,
"randomizerdpfilename":<String_value>,
"rdplinkattribute":<String_value>,
"builtin":<String[]_value>,
"feature":<String_value>,
"rdpvalidateclientip":<String_value>
}]}

<!--NeedCopy-->

count

URL: http:// <netscaler-ip-address> /nitro/v1/config/rdpclientprofile? count=yes HTTP Method: GET

Request Headers:

Cookie:NITRO_AUTH_TOKEN= <tokenvalue>

Accept:application/json

Response: HTTP Status Code on Success: 200 OK

HTTP Status Code on Failure: 4xx <string> (for general HTTP errors) or 5xx <string> (for NetScaler-specific errors). The response payload provides details of the error

Response Header:

Content-Type:application/json

Response Payload:

{ "rdpclientprofile": [ { "__count": "#no"} ] }

<!--NeedCopy-->
rdpclientprofile