共用方式為


SPGroup.CanCurrentUserEditMembership property

取得布林值,這個值,指出目前的使用者是否可以修改群組成員資格。

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'宣告
Public ReadOnly Property CanCurrentUserEditMembership As Boolean
    Get
'用途
Dim instance As SPGroup
Dim value As Boolean

value = instance.CanCurrentUserEditMembership
public bool CanCurrentUserEditMembership { get; }

Property value

Type: System.Boolean
true如果目前的使用者可以修改群組成員資格。否則, false。

請參閱

參照

SPGroup class

SPGroup members

Microsoft.SharePoint namespace