ObjectSharingInformation.GetWebSharingInformation-Methode
Ruft Informationen zum Freigabestatus einer angegebenen Website 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 GetWebSharingInformation ( _
context As ClientRuntimeContext, _
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 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.GetWebSharingInformation(context, _
excludeCurrentUser, excludeSiteAdmin, _
excludeSecurityGroups, retrieveAnonymousLinks, _
retrieveUserInfoDetails, checkForAccessRequests)
public static ObjectSharingInformation GetWebSharingInformation(
ClientRuntimeContext context,
bool excludeCurrentUser,
bool excludeSiteAdmin,
bool excludeSecurityGroups,
bool retrieveAnonymousLinks,
bool retrieveUserInfoDetails,
bool checkForAccessRequests
)
Parameter
context
Typ: Microsoft.SharePoint.Client.ClientRuntimeContextDer Laufzeitkontext.
excludeCurrentUser
Typ: System.BooleanGibt an, ob die zurückgegebenen Kosteninformationen Informationen über den aktuellen Benutzer ausschließen soll. Wenn true, die aktuellen Benutzerinformationen ausgeschlossen ist.
excludeSiteAdmin
Typ: System.BooleanGibt 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.BooleanGibt 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.BooleanGibt an, ob die zurückgegebenen Kosteninformationen Informationen zur anonyme Links enthalten soll. Wenn true, Informationen zur anonyme Links enthalten ist.
retrieveUserInfoDetails
Typ: System.BooleanGibt an, ob die zurückgegebenen Kosteninformationen zusätzlichen Benutzerinformationen enthalten soll. Wenn true, zusätzlichen Benutzerinformationen enthalten ist.
checkForAccessRequests
Typ: System.BooleanGibt an, ob zum Abrufen von Access fordert Informationen an. Wenn true, Access fordert Informationen an abgerufen werden.
Rückgabewert
Typ: Microsoft.SharePoint.Client.ObjectSharingInformation
Die Website, die Freigabe von Informationen.
Siehe auch
Referenz
ObjectSharingInformation Klasse