SPGroup SPGroup 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
Public NotInheritable Class SPGroup
Inherits SPPrincipal
Inheritance
Attributes
Microsoft.SharePoint.Client.ClientCallableTypeAttribute Microsoft.SharePoint.Client.SubsetCallableTypeAttribute

Properties

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

Methods

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

Fields

m_arrMembersData m_arrMembersData m_arrMembersData Inherited from SPPrincipal
m_bDataInitialized m_bDataInitialized m_bDataInitialized Inherited from SPPrincipal
m_index m_index m_index Inherited from SPPrincipal
m_web m_web m_web Inherited from SPPrincipal

Extension Methods

ToJson(Object) ToJson(Object) ToJson(Object)

Applies to