MembershipSource Enumeration
Represents the source of a member group involved in a particular membership.
Namespace: [UserProfileService Web service]
Web service reference: http://Site/_vti_bin/UserProfileService.asmx
Syntax
'Declaration
<SerializableAttribute> _
Public Enumeration MembershipSource
'Usage
Dim instance As MembershipSource
[SerializableAttribute]
public enum MembershipSource
Members
Member name | Description | |
---|---|---|
DistributionList | The source of the member group is a distribution list (DL). | |
SharePointSite | The source of the member group is a SharePoint Server site. | |
Other | The source of the member group is a custom membership that is user-created. |
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.