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: 6.0.0.0 (6.0.6225.27214)
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