SPService.IsUserLicensedForEntity-Methode
Überprüft, ob der aktuelle Benutzer die entsprechende Lizenz zum Zugriff auf die angegebene Entität verfügt.
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
'Declaration
Public Function IsUserLicensedForEntity ( _
licensableEntity As String _
) As Boolean
'Usage
Dim instance As SPService
Dim licensableEntity As String
Dim returnValue As Boolean
returnValue = instance.IsUserLicensedForEntity(licensableEntity)
public bool IsUserLicensedForEntity(
string licensableEntity
)
licensableEntity
Typ: System.StringDie Entität, die das Lizenz Kontrollkästchen anfordern.
Typ: System.Boolean
true , wenn der Benutzer verfügt über die entsprechende Lizenz oder Lizenzierung ist deaktiviert; andernfalls false.