Active Directory Provider::Verify UPN

Verifies that the user principal name (UPN) has a valid UPN suffix (any characters after the "@" character) and returns an error if it does not. More precisely, this procedure verifies that the suffix of the given UPN is in the given list of UPN suffixes. Used by Microsoft® Provisioning Framework (MPF).

XML Input Schema

The following code fragment shows the format for sending data to this procedure. For more information on individual elements and attributes, see the Elements and Attributes table.


XML Output Schema

Verify UPN does not return data.

Elements and Attributes

The following table describes the XML schema elements and attributes. Unless otherwise indicated, the data type is string.

Element Description, relationships, and attributes
executeData Description:
Encapsulates the procedure's input and output data.

uPNSuffixes (minOccurs="1" maxOccurs="1")
(minOccurs="1" maxOccurs="1")

uPNSuffixes Description:
Set of valid UPN suffixes, represented as value child nodes. 


value (minOccurs="1" maxOccurs="*")

userPrincipalName Description:
UPN to verify. UPN is an attribute of the Microsoft® Active Directory® User Account object.


value Description:
Valid UPN suffix.



This action does not use an Active Directory domain controller or any other server. It only searches for an "@" character in the userPrincipalName and verifies that the string after that character matches one of the uPNSuffixes. The following example would succeed because the suffix of the UPN, "", is in the list of valid UPN suffixes.


See Also

Active Directory Provider

Up Top of Page
© 1999-2002 Microsoft Corporation. All rights reserved.