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


<userPrincipalName value = "String" />

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.

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.

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

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


© 2007 Microsoft Corporation. All rights reserved.
Last Published: 2010-01-05
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2015 Microsoft