Store.CreateUnifiedGroup (Outlook)

Enables a unified group to be created.

CreateUnifiedGroup (Name, Alias, Description, FAutoSubscribeMembers, GroupType)


Dim strName As String: strName = 
Dim strAlias As String: strAlias = 
Dim strDescription As String: strDescription = 
Dim strCreateUnifiedGroup As String
strCreateUnifiedGroup = Session.DefaultStore.CreateUnifiedGroup(Name:=strName, Alias:=strAlias, Description:=strDescription, FAutoSubscribeMembers:=True, GroupType:=PrivateGroup)

Arguments

The following arguments are required:

Name - String

Alias - String

Description - String

FAutoSubscribeMembers - Boolean

GroupType - OlUnifiedGroupType

Possible return values are PrivateGroup - Assigns a private group, PublicGroup - Assigns a public group.