Click or drag to resize
RolePermissionInfoProviderGetRolePermissionInfo Method

Note: This API is now obsolete.

Returns the RolePermissionInfo structure for the specified rolePermission.

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

Parameters

roleId
Type: SystemInt32
RoleID
permissionId
Type: SystemInt32
PermissionID

Return Value

Type: RolePermissionInfo
See Also