SPGroup Class

Definition

public ref class SPGroup sealed : Microsoft::SharePoint::SPPrincipal
[Microsoft.SharePoint.Client.ClientCallableType(EntityKeyPropertyNames="ID", FactoryType=typeof(Microsoft.SharePoint.SPObjectFactory), Name="Group", ObjectIdentityPropertyName="CanonicalId", ObjectUrlPathPropertyName="Microsoft.SharePoint.SPObjectUrlPath.GetUrlPath", PatchUpdateMethodClientName="Update", PutUpdateMethodClientName="Update", SampleUrl="{apiroot}/web/sitegroups({groupid})", ServerTypeId="{e54ad5f1-ce4e-453b-b7f7-aea6556c9c40}")]
[Microsoft.SharePoint.Client.SubsetCallableType]
public sealed class SPGroup : Microsoft.SharePoint.SPPrincipal
type SPGroup = class
    inherit SPPrincipal
Public NotInheritable Class SPGroup
Inherits SPPrincipal
Inheritance
Attributes

Fields

m_arrMembersData (Inherited from SPPrincipal)
m_bDataInitialized (Inherited from SPPrincipal)
m_index (Inherited from SPPrincipal)
m_web (Inherited from SPPrincipal)

Properties

AllowMembersEditMembership
AllowRequestToJoinLeave
AutoAcceptRequestToJoinLeave
CanCurrentUserEditMembership
CanCurrentUserManageGroup
CanCurrentUserViewMembership
ContainsCurrentUser
Description
DistributionGroupAlias
DistributionGroupEmail
DistributionGroupErrorMessage
DistributionGroupPendingJobData
ExplicitlyContainsCurrentUser
ID
IsHiddenInUI (Inherited from SPPrincipal)
LoginName
Name
OnlyAllowMembersViewMembership
Owner
ParentWeb (Inherited from SPPrincipal)
RequestToJoinLeaveEmailSetting
Roles (Inherited from SPPrincipal)
Users
Xml

Methods

AddUser(SPUser)
AddUser(String, String, String, String)
ClearDistributionGroupErrorMessage()
CreateDistributionGroup(String)
DeleteDistributionGroup()
GetDistributionGroupArchives(SPWeb)
GetField(UInt32) (Inherited from SPPrincipal)
InitMember() (Inherited from SPPrincipal)
RemoveUser(SPUser)
RenameDistributionGroup(String)
ResynchronizeDistributionGroup()
SetDistributionGroupArchives(ReadOnlyCollection<SPList>, SPWeb)
SetField(UInt32, Object) (Inherited from SPPrincipal)
ToString()
Update()
UpdateDistributionGroupStatus()

Applies to