MembershipManager.Create Method
Namespace: Microsoft.Office.Server.UserProfiles
Assembly: Microsoft.Office.Server (in Microsoft.Office.Server.dll)
Syntax
'Declaration
Public Function Create ( _
memberGroup As MemberGroup, _
groupType As MembershipGroupType, _
groupName As String, _
privacyLevel As Privacy _
) As Membership
'Usage
Dim instance As MembershipManager
Dim memberGroup As MemberGroup
Dim groupType As MembershipGroupType
Dim groupName As String
Dim privacyLevel As Privacy
Dim returnValue As Membership
returnValue = instance.Create(memberGroup, _
groupType, groupName, privacyLevel)
public Membership Create(
MemberGroup memberGroup,
MembershipGroupType groupType,
string groupName,
Privacy privacyLevel
)
Parameters
- memberGroup
Type: Microsoft.Office.Server.UserProfiles.MemberGroup
- groupType
Type: Microsoft.Office.Server.UserProfiles.MembershipGroupType
- groupName
Type: System.String
- privacyLevel
Type: Microsoft.Office.Server.UserProfiles.Privacy
Return Value
Type: Microsoft.Office.Server.UserProfiles.Membership