Click or drag to resize

PermissionContextSetPermission Method (Int32, PermissionLevel, IPermissionControlled)

Namespace:  Dynamicweb.Security.Permissions
Assembly:  Dynamicweb.Security (in Dynamicweb.Security.dll) Version: 11.0.2
Syntax
public void SetPermission(
	int userId,
	PermissionLevel permission,
	IPermissionControlled permissionControlledObject
)

Parameters

userId
Type: SystemInt32
permission
Type: Dynamicweb.Security.PermissionsPermissionLevel
permissionControlledObject
Type: Dynamicweb.Security.PermissionsIPermissionControlled
See Also