Click or drag to resize
PermissionNameInfoProviderGetPermissionNameInfo Method (Int32)

Note: This API is now obsolete.

Returns the permission name info object.

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

Parameters

permissionId
Type: SystemInt32
Id of the permission to retrieve

Return Value

Type: PermissionNameInfo
See Also