共用方式為


SPGroup.OnlyAllowMembersViewMembership property

取得或設定布林值,指定是否允許只有群組成員檢視中群組成員的清單。

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

Syntax

'宣告
Public Property OnlyAllowMembersViewMembership As Boolean
    Get
    Set
'用途
Dim instance As SPGroup
Dim value As Boolean

value = instance.OnlyAllowMembersViewMembership

instance.OnlyAllowMembersViewMembership = value
public bool OnlyAllowMembersViewMembership { get; set; }

Property value

Type: System.Boolean
若要允許代表只檢視成員清單 ; 群組成員的true否則, false。

請參閱

參照

SPGroup class

SPGroup members

Microsoft.SharePoint namespace