Share via


authMode Element (Compact 7)

3/12/2014

This element specifies the type of credentials that are used for authentication. The authMode element is optional. When authmode is not specified in a profile, a value of machineOrUser is used by default.

The following table describes the possible values:

Value Description

machineOrUser

Use machine or user credentials. When a user is logged on, the user's credentials are used for authentication. When no user is logged on, machine credentials are used.

machine

Use machine credentials only

user

Use user credentials only

guest

Use guest (empty) credentials only

Syntax

<xs:element name="authMode">
    <xs:simpleType>
        <xs:restriction
            base="string"
        >
            <xs:enumeration
                value="machineOrUser"
             />
            <xs:enumeration
                value="machine"
             />
            <xs:enumeration
                value="user"
             />
            <xs:enumeration
                value="guest"
             />
        </xs:restriction>
    </xs:simpleType>
</xs:element>

Remarks

The authMode element is defined by the OneX Element.

See Also

Reference

Profile XML Schema Elements
OneX Element
Profile XML Schema Reference