ObjectSharingInformation.GetObjectSharingInformation2 - Méthode
Espace de noms : Microsoft.SharePoint.Client
Assemblys : Microsoft.SharePoint.Client.Silverlight (dans Microsoft.SharePoint.Client.Silverlight.dll); Microsoft.SharePoint.Client.Phone (dans Microsoft.SharePoint.Client.Phone.dll) Microsoft.SharePoint.Client (dans Microsoft.SharePoint.Client.dll)
Syntaxe
'Déclaration
Public Shared Function GetObjectSharingInformation2 ( _
context As ClientRuntimeContext, _
securableObject As SecurableObject, _
excludeCurrentUser As Boolean, _
excludeSiteAdmin As Boolean, _
excludeSecurityGroups As Boolean, _
retrieveAnonymousLinks As Boolean, _
retrieveUserInfoDetails As Boolean, _
checkForAccessRequests As Boolean, _
retrievePermissionLevels As Boolean, _
forceRetrievePermissionLevels As Boolean _
) As ObjectSharingInformation
'Utilisation
Dim context As ClientRuntimeContext
Dim securableObject As SecurableObject
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 forceRetrievePermissionLevels As Boolean
Dim returnValue As ObjectSharingInformation
returnValue = ObjectSharingInformation.GetObjectSharingInformation2(context, _
securableObject, excludeCurrentUser, _
excludeSiteAdmin, excludeSecurityGroups, _
retrieveAnonymousLinks, retrieveUserInfoDetails, _
checkForAccessRequests, retrievePermissionLevels, _
forceRetrievePermissionLevels)
public static ObjectSharingInformation GetObjectSharingInformation2(
ClientRuntimeContext context,
SecurableObject securableObject,
bool excludeCurrentUser,
bool excludeSiteAdmin,
bool excludeSecurityGroups,
bool retrieveAnonymousLinks,
bool retrieveUserInfoDetails,
bool checkForAccessRequests,
bool retrievePermissionLevels,
bool forceRetrievePermissionLevels
)
Paramètres
- context
Type : Microsoft.SharePoint.Client.ClientRuntimeContext
- securableObject
Type : Microsoft.SharePoint.Client.SecurableObject
- excludeCurrentUser
Type : System.Boolean
- excludeSiteAdmin
Type : System.Boolean
- excludeSecurityGroups
Type : System.Boolean
- retrieveAnonymousLinks
Type : System.Boolean
- retrieveUserInfoDetails
Type : System.Boolean
- checkForAccessRequests
Type : System.Boolean
- retrievePermissionLevels
Type : System.Boolean
- forceRetrievePermissionLevels
Type : System.Boolean
Valeur renvoyée
Type : Microsoft.SharePoint.Client.ObjectSharingInformation
Voir aussi
Référence
ObjectSharingInformation classe