UserProfileService.CreateMemberGroup Method
Creates a new group based on the specified membership information.
Namespace: [UserProfileService Web service]
Web service reference: http://Site/_vti_bin/UserProfileService.asmx
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
membershipInfo
Type: [UserProfileService Web service].MembershipDataThe membership information for creating a member group.
Exceptions
Exception | Condition |
---|---|
SoapException | The group cannot be created. |
Remarks
This method creates a new member group by using the specified membership information.