Click or drag to resize
SecurityDebugLogSecurityOperation Method
Logs the security operation. Logs the security operation to the file and to current request log for debugging.

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 11.0.0
Syntax
C#
public static DataRow LogSecurityOperation(
	string userName,
	string operation,
	string resource,
	string name,
	Object result,
	string siteName,
	int indent = -1
)

Parameters

userName
Type: SystemString
User name
operation
Type: SystemString
Operation
resource
Type: SystemString
Resource or class name
name
Type: SystemString
Permission or UI element name
result
Type: SystemObject
Result of the check
siteName
Type: SystemString
Site name
indent (Optional)
Type: SystemInt32
Indentation of the item

Return Value

Type: DataRow
Returns the DataRow with new log item
See Also