del método ObjectSharingInformation.GetObjectSharingInformationByUrl
Espacio de nombres: Microsoft.SharePoint.Client
Ensamblados: Microsoft.SharePoint.Client.Silverlight (en Microsoft.SharePoint.Client.Silverlight.dll); Microsoft.SharePoint.Client.Phone (en Microsoft.SharePoint.Client.Phone.dll) Microsoft.SharePoint.Client (en Microsoft.SharePoint.Client.dll)
Sintaxis
'Declaración
Public Shared Function GetObjectSharingInformationByUrl ( _
context As ClientRuntimeContext, _
objectUrl As String, _
excludeCurrentUser As Boolean, _
excludeSiteAdmin As Boolean, _
excludeSecurityGroups As Boolean, _
retrieveAnonymousLinks As Boolean, _
retrieveUserInfoDetails As Boolean, _
checkForAccessRequests As Boolean, _
retrievePermissionLevels As Boolean _
) As ObjectSharingInformation
'Uso
Dim context As ClientRuntimeContext
Dim objectUrl As String
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 retrievePermissionLevels As Boolean
Dim returnValue As ObjectSharingInformation
returnValue = ObjectSharingInformation.GetObjectSharingInformationByUrl(context, _
objectUrl, excludeCurrentUser, excludeSiteAdmin, _
excludeSecurityGroups, retrieveAnonymousLinks, _
retrieveUserInfoDetails, checkForAccessRequests, _
retrievePermissionLevels)
public static ObjectSharingInformation GetObjectSharingInformationByUrl(
ClientRuntimeContext context,
string objectUrl,
bool excludeCurrentUser,
bool excludeSiteAdmin,
bool excludeSecurityGroups,
bool retrieveAnonymousLinks,
bool retrieveUserInfoDetails,
bool checkForAccessRequests,
bool retrievePermissionLevels
)
Parámetros
- context
Tipo: Microsoft.SharePoint.Client.ClientRuntimeContext
- objectUrl
Tipo: System.String
- excludeCurrentUser
Tipo: System.Boolean
- excludeSiteAdmin
Tipo: System.Boolean
- excludeSecurityGroups
Tipo: System.Boolean
- retrieveAnonymousLinks
Tipo: System.Boolean
- retrieveUserInfoDetails
Tipo: System.Boolean
- checkForAccessRequests
Tipo: System.Boolean
- retrievePermissionLevels
Tipo: System.Boolean
Valor devuelto
Tipo: Microsoft.SharePoint.Client.ObjectSharingInformation
Vea también
Referencia
clase ObjectSharingInformation