<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.

Schema Hierarchy

<identity>
  <userPrincipalName>

Syntax

<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.

Remarks

A secure Windows Communication Foundation (WCF) client that connects to an endpoint with this identity uses the UPN when performing SSPI authentication with the endpoint.

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

Reference

<identity>
IdentityElement
EndpointAddress
Identity
UpnEndpointIdentity

Other Resources

Specifying Service Identity