Click or drag to resize
PermissionNameInfoProviderDeletePermissionInfo Method (Int32)

Note: This API is now obsolete.

Deletes the specified permission.

Namespace: CMS.Modules
Assembly: CMS.Modules (in CMS.Modules.dll) Version: 13.0.131
Syntax
C#
[ObsoleteAttribute("Use IPermissionNameInfoProvider.Delete(PermissionNameInfo) instead. To get an instance of the interface's implementation, use dependency injection or access the instance directly - PermissionNameInfo.Provider.")]
public static void DeletePermissionInfo(
	int permissionId
)

Parameters

permissionId
Type: SystemInt32
Permission ID
See Also