ProfilePropertyLoader.OnInit 方法
处理Init事件。
命名空间: Microsoft.SharePoint.Portal.WebControls
程序集: Microsoft.SharePoint.Portal(位于 Microsoft.SharePoint.Portal.dll 中)
语法
声明
Protected Overrides Sub OnInit ( _
e As EventArgs _
)
用法
Dim e As EventArgs
Me.OnInit(e)
protected override void OnInit(
EventArgs e
)
参数
e
类型:System.EventArgs事件的数据。
备注
此重写加载用户或组织的配置文件信息,基于当前页上的查询字符串。如果查询字符串包含帐户名、 guid、 sid, preferredname或用户的值,则将加载用户配置文件。如果查询字符串包含ID或guid的值,则将加载组织配置文件。如果当前页上没有任何查询字符串,则加载当前用户。