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 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 Exception | Condition |
---|
LicenseException | if the feature is not licensed for the user or too many users are registered with the licensing profile. |
See Also