MembershipSource Enumeration

Represents the source type of the membership.

Web Service: User ProfileWeb Reference: http://<Site>/_vti_bin/UserProfileService.asmx

Syntax

'Declaration
<SerializableAttribute> _
<XmlTypeAttribute(Namespace:="https://microsoft.com/webservices/SharePointPortalServer/UserProfileService")> _
<GeneratedCodeAttribute("wsdl", "2.0.50727.42")> _
Public Enumeration MembershipSource
'Usage
Dim instance As MembershipSource
[SerializableAttribute] 
[XmlTypeAttribute(Namespace="https://microsoft.com/webservices/SharePointPortalServer/UserProfileService")] 
[GeneratedCodeAttribute("wsdl", "2.0.50727.42")] 
public enum MembershipSource

Members

  Member name Description
DistributionList The source of the membership is a distribution list (DL). 
Other The source of the membership is a custom membership that a user created. 
SharePointSite The source of the membership is a SharePoint site. 

Remarks

For more information about 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.

See Also

Reference

User Profile Web Service