Click or drag to resize

PermissionContextSetPermission Method (Int32, PermissionLevel, String, String, String)

Namespace:  Dynamicweb.Security.Permissions
Assembly:  Dynamicweb.Security (in Dynamicweb.Security.dll) Version: 11.0.2
Syntax
public void SetPermission(
	int userId,
	PermissionLevel permission,
	string key,
	string name,
	string subName = ""
)

Parameters

userId
Type: SystemInt32
permission
Type: Dynamicweb.Security.PermissionsPermissionLevel
key
Type: SystemString
name
Type: SystemString
subName (Optional)
Type: SystemString
See Also