PackageUserUtilitiesAddPermissionLevelProfiles Method |
Adds a profile for the specified permission level for the specified
UserContext.
Namespace:
NetQuarry.Security.Package
Assembly:
EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax public static void AddPermissionLevelProfiles(
IAppContext appCxt,
int permissionLevelID,
UserContext uc,
bool refreshPermissions = false
)
Public Shared Sub AddPermissionLevelProfiles (
appCxt As IAppContext,
permissionLevelID As Integer,
uc As UserContext,
Optional refreshPermissions As Boolean = false
)
Parameters
- appCxt
- Type: NetQuarryIAppContext
The application context. - permissionLevelID
- Type: SystemInt32
The permissiong level to add. - uc
- Type: NetQuarry.SecurityUserContext
The user context of the user for whom to add the profile. - refreshPermissions (Optional)
- Type: SystemBoolean
Specifies whether or not to refresh the permissions on the user context after adding the profile if any were added.
See Also