UserProfileService.CreateMemberGroup method

Creates a new group based on the specified membership information.

Namespace:  WebSvcUserProfileService
Assembly:  UserProfileServices (in UserProfileServices.dll)

Syntax

'Declaration
<SoapDocumentMethodAttribute("https://microsoft.com/webservices/SharePointPortalServer/UserProfileService/CreateMemberGroup", RequestNamespace := "https://microsoft.com/webservices/SharePointPortalServer/UserProfileService",  _
    ResponseNamespace := "https://microsoft.com/webservices/SharePointPortalServer/UserProfileService",  _
    Use := SoapBindingUse.Literal, ParameterStyle := SoapParameterStyle.Wrapped)> _
Public Sub CreateMemberGroup ( _
    membershipInfo As MembershipData _
)
'Usage
Dim instance As UserProfileService
Dim membershipInfo As MembershipData

instance.CreateMemberGroup(membershipInfo)
[SoapDocumentMethodAttribute("https://microsoft.com/webservices/SharePointPortalServer/UserProfileService/CreateMemberGroup", RequestNamespace = "https://microsoft.com/webservices/SharePointPortalServer/UserProfileService", 
    ResponseNamespace = "https://microsoft.com/webservices/SharePointPortalServer/UserProfileService", 
    Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
public void CreateMemberGroup(
    MembershipData membershipInfo
)

Parameters

Exceptions

Exception Condition
SoapException

The group cannot be created.

Remarks

This method creates a new member group by using the specified membership information.

See also

Reference

UserProfileService class

UserProfileService members

WebSvcUserProfileService namespace