UserId 类

定义

表示用户的标识符。

public ref class UserId sealed : Microsoft::Exchange::WebServices::Data::ComplexProperty
public sealed class UserId : Microsoft.Exchange.WebServices.Data.ComplexProperty
Public NotInheritable Class UserId
Inherits ComplexProperty
继承

构造函数

UserId()

初始化 UserId 类的新实例。

UserId(StandardUser)

为指定的标准用户初始化 UserId 类的新实例。

UserId(String)

使用用户的电子邮件地址初始化 UserId 类的新实例。

属性

DisplayName

获取或设置用户的显示名称。

PrimarySmtpAddress

获取或设置用户的主 SMTP 地址。

SID

获取或设置用户的 SID。

StandardUser

获取或设置一个值,该值指示用户表示的标准用户。

运算符

Implicit(StandardUser to UserId)

在标准用户和 UserId 实例之间实现隐式转换。

Implicit(String to UserId)

在表示主 SMTP 地址的字符串与 UserId 实例之间实现隐式转换。

适用于