Dela via


2.2.3.193.2 UserName (Search)

The UserName element is an optional child element of the Options element in Search command requests that specifies the user account used to search the document from the document library. The UserName element value can be up to 100 characters in length.

All elements referenced in this section are defined in the Search namespace.

Command request/response

Parent elements

Child elements

Data type

Number allowed

Search command request (section 2.2.1.16)

Options (section 2.2.3.125.5)

None

string ([MS-ASDTYPE] section 2.7)

0…1 (optional)

Protocol Versions

The following table specifies the protocol versions that support this element. The client indicates the protocol version being used by setting either the MS-ASProtocolVersion header, as specified in [MS-ASHTTP] section 2.2.1.1.2.6, or the Protocol version field, as specified in [MS-ASHTTP] section 2.2.1.1.1.1, in the request.

Protocol version

Element support

2.5

12.0

12.1

Yes

14.0

Yes

14.1

Yes

16.0

Yes

16.1

Yes