Click or drag to resize

SSMapServicesReorderUserAgents Method


Reorders collection of User Agents based on provided sequence of names. The order of User Agents are important, since it will determine with User Agent branding gets evaluated and used first.

Namespace: IngeniuxCMService
Assembly: IngeniuxCMService (in IngeniuxCMService.dll) Version: 10.6.492
Syntax
public XHRServiceResponseGeneric<string[]> ReorderUserAgents(
	string[] data
)

Parameters

data  String

Array of names of User Agents, reflecting the updated order

Example
Sample JSON input
JavaScript
{
    "data": ["Chrome", "IE"]
}

Return Value

XHRServiceResponseGenericString

Array of User Agent names reflecting the updated order

Example
Sample JSON return
JavaScript
{
    "code": 0,
    "error": null,
    "message": ["Chrome", "IE"]
}
See Also