OrganizationProfile.AddMember 方法 (Int64, OrganizationMembershipType)

请注意:此 API 现在已过时。

将指定的用户配置文件添加到此OrganizationProfile对象。

命名空间:  Microsoft.Office.Server.UserProfiles
程序集:  Microsoft.Office.Server.UserProfiles(位于 Microsoft.Office.Server.UserProfiles.dll 中)

语法

声明
<ObsoleteAttribute("This class is no longer supported.")> _
Public Sub AddMember ( _
    userRecordID As Long, _
    type As OrganizationMembershipType _
)
用法
Dim instance As OrganizationProfile
Dim userRecordID As Long
Dim type As OrganizationMembershipType

instance.AddMember(userRecordID, type)
[ObsoleteAttribute("This class is no longer supported.")]
public void AddMember(
    long userRecordID,
    OrganizationMembershipType type
)

参数

  • userRecordID
    类型:System.Int64

    用户配置文件记录标识符。

另请参阅

引用

OrganizationProfile 类

OrganizationProfile 成员

AddMember 重载

Microsoft.Office.Server.UserProfiles 命名空间