PackageUserUtilities.AddPermissionLevelProfiles 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)
Syntaxpublic 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: NetQuarry.IAppContext
The application context. - permissionLevelID
- Type: System.Int32
The permissiong level to add. - uc
- Type: NetQuarry.Security.UserContext
The user context of the user for whom to add the profile. - refreshPermissions (Optional)
- Type: System.Boolean
Specifies whether or not to refresh the permissions on the user context after adding the profile if any were added.
See Also