UserLogonCred (contextType) 元素

UserLogonCred (contextType) 元素包含连接的登录凭据。

此元素可以具有以下子元素。

此元素最多可以发生一次。

此元素为可选元素。

<xs:element name="UserLogonCred">
    <xs:complexType>
        <xs:sequence>
            <xs:element name="UserName"
                type="nameType"
             />
            <xs:element name="IgnorePassword"
                type="boolean"
                minOccurs="0"
             />
            <xs:element name="Password"
                type="string"
                minOccurs="0"
             />
        </xs:sequence>
    </xs:complexType>
</xs:element>

UserLogonCred 元素由 contextType 复杂类型定义。

子元素

元素 类型 说明
IgnorePassword boolean 如何在升级配置文件时处理密码。
密码 string 用户密码。
用户 nameType 用户名。

要求

要求
最低受支持的客户端
Windows 7 [桌面应用|UWP 应用]
最低受支持的服务器
无受支持的版本

另请参阅

架构中元素的定义上下文

contextType

架构实例中可能的直接父元素

上下文 (MBNProfile)