Share via


UserProfileMembershipChange Class

Represents a change to a membership.

Inheritance Hierarchy

System.Object
  Microsoft.Office.Server.UserProfiles.UserProfileChange
    Microsoft.Office.Server.UserProfiles.UserProfileMembershipChange
      Microsoft.Office.Server.UserProfiles.UserProfileSiteMembershipChange

Namespace:  Microsoft.Office.Server.UserProfiles
Assembly:  Microsoft.Office.Server (in Microsoft.Office.Server.dll)

Syntax

'Declaration
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Public Class UserProfileMembershipChange _
    Inherits UserProfileChange
'Usage
Dim instance As UserProfileMembershipChange
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
public class UserProfileMembershipChange : UserProfileChange

Remarks

For more information about memberships and types of membership groups, see Memberships Overview. For a code example about how to create a member group and add a member to the newly created group, see How to: Create Memberships.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

UserProfileMembershipChange Members

Microsoft.Office.Server.UserProfiles Namespace