Utility.IsUserLicensedForEntityInContext - Méthode
Espace de noms : Microsoft.SharePoint.Client.Utilities
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 IsUserLicensedForEntityInContext ( _
context As ClientRuntimeContext, _
licensableEntity As String _
) As ClientResult(Of Boolean)
'Utilisation
Dim context As ClientRuntimeContext
Dim licensableEntity As String
Dim returnValue As ClientResult(Of Boolean)
returnValue = Utility.IsUserLicensedForEntityInContext(context, _
licensableEntity)
public static ClientResult<bool> IsUserLicensedForEntityInContext(
ClientRuntimeContext context,
string licensableEntity
)
Paramètres
- context
Type : Microsoft.SharePoint.Client.ClientRuntimeContext
- licensableEntity
Type : System.String
Valeur renvoyée
Type : Microsoft.SharePoint.Client.ClientResult<Boolean>