UserId

The UserId element identifies a delegate user or a user who has folder access permissions.

<UserId>
   <SID/>
   <PrimarySmtpAddress/>
   <DisplayName/>
   <DistinguishedUser/>
   <ExternalUserIdentity/>
</UserId>

UserIdType

Attributes and elements

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

Attributes

None.

Child elements

Element Description
SID
Represents the security descriptor definition language (SDDL) form of the security identifier (SID).
PrimarySmtpAddress
Represents the primary Simple Mail Transfer Protocol (SMTP) address of an account to be used for delegate access.
DisplayName (string)
Defines the display name of a folder, contact, distribution list, or delegate user.
DistinguishedUser
Identifies Anonymous and Default user accounts for delegate access.
ExternalUserIdentity
Identifies an external delegate user or an external user who has folder access permissions.

Parent elements

Element Description
DelegateUser
Identifies a single delegate to add or update in a mailbox.
Permission
Defines the access that a user has to a folder.
CalendarPermission
Defines the access that a user has to a Calendar folder.
UserIds
Contains an array of delegate users to get or remove from a principal's mailbox.

Text value

None.

Remarks

The schema that describes this element is located in the IIS virtual directory that hosts Exchange Web Services.

Element information

Name Value
Namespace
http://schemas.microsoft.com/exchange/services/2006/types
Schema Name
Types schema
Validation File
Types.xsd
Can be Empty
False

See also

AddDelegate operation

UpdateDelegate operation

Adding Delegates