Freigeben über


ObjectSharingInformation.GetListItemSharingInformation-Methode

Ruft Informationen zum Freigabestatus eines angegebenen Listenelements ab.

Namespace:  Microsoft.SharePoint.Client
Assemblys:   Microsoft.SharePoint.Client.Silverlight (in Microsoft.SharePoint.Client.Silverlight.dll);  Microsoft.SharePoint.Client.Phone (in Microsoft.SharePoint.Client.Phone.dll)  Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)

Syntax

'Declaration
Public Shared Function GetListItemSharingInformation ( _
    context As ClientRuntimeContext, _
    listID As Guid, _
    itemID As Integer, _
    excludeCurrentUser As Boolean, _
    excludeSiteAdmin As Boolean, _
    excludeSecurityGroups As Boolean, _
    retrieveAnonymousLinks As Boolean, _
    retrieveUserInfoDetails As Boolean, _
    checkForAccessRequests As Boolean _
) As ObjectSharingInformation
'Usage
Dim context As ClientRuntimeContext
Dim listID As Guid
Dim itemID As Integer
Dim excludeCurrentUser As Boolean
Dim excludeSiteAdmin As Boolean
Dim excludeSecurityGroups As Boolean
Dim retrieveAnonymousLinks As Boolean
Dim retrieveUserInfoDetails As Boolean
Dim checkForAccessRequests As Boolean
Dim returnValue As ObjectSharingInformation

returnValue = ObjectSharingInformation.GetListItemSharingInformation(context, _
    listID, itemID, excludeCurrentUser, _
    excludeSiteAdmin, excludeSecurityGroups, _
    retrieveAnonymousLinks, retrieveUserInfoDetails, _
    checkForAccessRequests)
public static ObjectSharingInformation GetListItemSharingInformation(
    ClientRuntimeContext context,
    Guid listID,
    int itemID,
    bool excludeCurrentUser,
    bool excludeSiteAdmin,
    bool excludeSecurityGroups,
    bool retrieveAnonymousLinks,
    bool retrieveUserInfoDetails,
    bool checkForAccessRequests
)

Parameter

  • listID
    Typ: System.Guid

    Die Kennung der Liste für die Freigabe von Informationen zu erhalten.

  • itemID
    Typ: System.Int32

    Der Bezeichner des Listenelements für die Freigabe von Informationen zu erhalten.

  • excludeCurrentUser
    Typ: System.Boolean

    Gibt an, ob die zurückgegebenen Kosteninformationen Informationen über den aktuellen Benutzer ausschließen soll. Wenn true, die aktuellen Benutzerinformationen ausgeschlossen ist.

  • excludeSiteAdmin
    Typ: System.Boolean

    Gibt an, ob die zurückgegebenen Kosteninformationen Informationen zur Verwaltung der Websitebenutzer ausschließen soll. Wenn true, die Website Administration Benutzerinformationen ausgeschlossen ist.

  • excludeSecurityGroups
    Typ: System.Boolean

    Gibt an, ob die zurückgegebenen Kosteninformationen Sicherheit ausschließen sollte aus der Liste der Gruppen für Benutzer freigegeben werden. Wenn true, Sicherheitsgruppen sind ausgeschlossen.

  • retrieveAnonymousLinks
    Typ: System.Boolean

    Gibt an, ob die zurückgegebenen Kosteninformationen Informationen zur anonyme Links enthalten soll. Wenn true, Informationen zur anonyme Links enthalten ist.

  • retrieveUserInfoDetails
    Typ: System.Boolean

    Gibt an, ob die zurückgegebenen Kosteninformationen zusätzlichen Benutzerinformationen enthalten soll. Wenn true, zusätzlichen Benutzerinformationen enthalten ist.

  • checkForAccessRequests
    Typ: System.Boolean

    Gibt an, ob zum Abrufen von Access fordert Informationen an. Wenn true, Access fordert Informationen an abgerufen werden.

Rückgabewert

Typ: Microsoft.SharePoint.Client.ObjectSharingInformation
Das Listenelement Informationsfreigabe verwenden.

Siehe auch

Referenz

ObjectSharingInformation Klasse

ObjectSharingInformation-Member

Microsoft.SharePoint.Client-Namespace