SPGroup Properties
Include Protected Members
Include Inherited Members
The SPGroup type exposes the following members.
Properties
| Name | Description | |
|---|---|---|
![]() |
AllowMembersEditMembership | Gets or sets a Boolean value that specifies whether group members can modify membership in the group. |
![]() |
AllowRequestToJoinLeave | Gets or sets a Boolean value that specifies whether to allow users to request membership in the group and to allow users to request to leave the group. |
![]() |
AutoAcceptRequestToJoinLeave | Gets or sets a Boolean value that specifies whether users are automatically added or removed when they make a request. |
![]() |
CanCurrentUserEditMembership | Gets a Boolean value that indicates whether the current user can modify membership of the group. |
![]() |
CanCurrentUserManageGroup | Gets a Boolean value that indicates whether the current user can manage the group. |
![]() |
CanCurrentUserViewMembership | Gets a Boolean value that indicates whether the current user can view the member list of the group. |
![]() |
ContainsCurrentUser | Gets a Boolean value that indicates whether the group contains the current user, included either through direct or indirect membership. |
![]() |
Description | Gets or sets the description for the group. |
![]() |
DistributionGroupAlias | Gets the distribution group alias that is associated with the group. |
![]() |
DistributionGroupEmail | Gets the email address of the distribution group. |
![]() |
DistributionGroupErrorMessage | Gets the most recent error message that was returned by an asynchronous distribution group operation. |
![]() |
DistributionGroupPendingJobData | Gets the type and identifier (ID) of the currently pending asynchronous Directory Management Service request. |
![]() |
ExplicitlyContainsCurrentUser | Gets a Boolean value that indicates whether the current user has been added explicitly as a direct member of the SharePoint Foundation group, as opposed to indirect membership through a directory group. |
![]() |
ID | Gets the identifier (ID) for the group. (Overrides SPPrincipal.ID.) |
![]() |
LoginName | Gets the login name of the group. (Overrides SPPrincipal.LoginName.) |
![]() |
Name | Gets or sets the name of the group. (Overrides SPPrincipal.Name.) |
![]() |
OnlyAllowMembersViewMembership | Gets or sets a Boolean value that specifies whether only group members are allowed to view the list of members in the group. |
![]() |
Owner | Gets or sets the owner for the group, which can be a user or another group. |
![]() |
ParentWeb | Gets the parent Web site for the principal. (Inherited from SPPrincipal.) |
![]() |
RequestToJoinLeaveEmailSetting | Gets or sets the e-mail address to which membership requests are sent. |
![]() |
Roles | Obsolete. Gets the collection of roles associated with the principal. (Inherited from SPPrincipal.) |
![]() |
Users | Gets a collection of user objects that represents all the users in the group. |
![]() |
Xml | Gets the properties of the group as an XML string. |
Top
.gif)