Click or drag to resize

LicensingUtilsCheckFeatureLicensedForUser Method

Checks if a feature is licensed for a specific user. This check also fails if the license allows only a limited number of users and more than this number of users is registered with a licensing profile.

Namespace:  PDTec.IceNet.Sdk.Utils
Assembly:  PDTec.IceNet.Sdk (in PDTec.IceNet.Sdk.dll) Version: 7.2.0.0 (7.2.7583.15464)
Syntax
C#
public static void CheckFeatureLicensedForUser(
	IDatabaseRepository pRepository,
	string featureName,
	string userName
)

Parameters

pRepository
Type: PDTec.IceNet.Core.DatabaseIDatabaseRepository
The repository.
featureName
Type: SystemString
The feature name.
userName
Type: SystemString
The user name.
Exceptions
ExceptionCondition
LicenseExceptionif the feature is not licensed for the user or too many users are registered with the licensing profile.
See Also