Click or drag to resize

LicensingUtilsIsFeatureLicensedForUser Method

Finds out if a feature is licensed for a specific user. If the license allows only a limited number of users and more than this number of users is registered with a licensing profile, an exception is thrown.

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 bool IsFeatureLicensedForUser(
	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.

Return Value

Type: Boolean
true if the feature is licensed for the user, false otherwise.
See Also