Click or drag to resize
PermissionNameInfoProviderDeletePermissionInfo Method (PermissionNameInfo)

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(
	PermissionNameInfo pni
)

Parameters

pni
Type: CMS.ModulesPermissionNameInfo
Permission object
See Also