Class GraphGroupOptions
Contains the available options for creating a group with Graph Api
Inheritance
Namespace: PnP.Core.Admin.Model.Microsoft365
Assembly: PnP.Core.Admin.dll
Syntax
public class GraphGroupOptions : object
Properties
AdditionalData
Option to add custom data to the post request for creating a group like the custom property for a EducationClass
Declaration
public IDictionary<string, object> AdditionalData { get; set; }
Property Value
IDictionary<System.String, System.Object>
|
Classification
Classification of this group
Declaration
public string Classification { get; set; }
Property Value
System.String
|
CreationOptions
Allows defining creation options for SharePoint Site Creation
Declaration
public List<string> CreationOptions { get; set; }
Property Value
List<System.String>
|
Description
Description of the Microsoft 365 Group
Declaration
public string Description { get; set; }
Property Value
System.String
|
DisplayName
Name of the Microsoft 365 Group
Declaration
public string DisplayName { get; set; }
Property Value
System.String
|
GroupTypes
Group types
Declaration
public List<string> GroupTypes { get; }
Property Value
List<System.String>
|
MailEnabled
Is this group mail enabled
Declaration
public bool MailEnabled { get; set; }
Property Value
System.Boolean
|
MailNickname
Mail nickname of this Microsoft 365 group
Declaration
public string MailNickname { get; set; }
Property Value
System.String
|
Members
Members data, list of UPN's of the users who need to be added as owner
Declaration
public string[] Members { get; set; }
Property Value
System.String[]
|
Owners
Owners data, list of UPN's of the users who need to be added as owner
Declaration
public string[] Owners { get; set; }
Property Value
System.String[]
|
PreferredDataLocation
Preferred data location
Declaration
public string PreferredDataLocation { get; set; }
Property Value
System.String
|
ResourceBehaviorOptions
Allows defining the resource behavior options for the group See https://learn.microsoft.com/en-us/graph/group-set-options#configure-groups
Declaration
public List<string> ResourceBehaviorOptions { get; set; }
Property Value
List<System.String>
|
SecurityEnabled
If it is a security enabled group
Declaration
public bool SecurityEnabled { get; }
Property Value
System.Boolean
|
Visibility
Visibility of this group
Declaration
public string Visibility { get; set; }
Property Value
System.String
|