Share via


<userPrincipalName>

Specifies the User Principal Name (UPN) of a service to be authenticated by the client.

For more information about setting the UPN, see Specifying Service Identity.

<system.serviceModel>

  <client>

    <endpoint>

      <identity>

                                    
                                    <userPrincipalName value = "String" />
                                

Attributes and Elements

The following sections describe attributes, child elements, and parent elements

Attributes

Attribute Description

Value

A user account name (sometimes referred to as the user logon name) and a domain name identifying the domain in which the user account is located. This is the standard usage for logging on to a Windows domain. The format is: someone@example.com (as for an e-mail address).

Child Elements

None.

Parent Elements


Element Description

<identity>

Specifies the identity of the service to be authenticated by the client.

Example

The following configuration code specifies the UPN of the service to be authenticated by the client.

<identity>
  <userPrincipalName value="someone@cohowinery.com" />
</identity>

See Also

Other Resources

Specifying Service Identity

Footer image

Send comments about this topic to Microsoft.
© Microsoft Corporation. All rights reserved.