Table of Contents

Class ApplicationPermissionInfoProvider

Namespace
CMS.Membership
Assembly
CMS.Membership.dll

Class providing ApplicationPermissionInfo management.

[Obsolete("The class is deprecated and will be removed in the next version.")]
[ObsoleteSince(29, 7)]
[ProviderInterface(typeof(IApplicationPermissionInfoProvider))]
public class ApplicationPermissionInfoProvider : AbstractInfoProvider<ApplicationPermissionInfo, ApplicationPermissionInfoProvider>, IInfoProvider, ICustomizableProvider, IBulkOperationProvider, IWebFarmProvider, IInfoValidator<ApplicationPermissionInfo>, IInfoByNameProvider<ApplicationPermissionInfo>, IBulkInfoProvider<ApplicationPermissionInfo>, IApplicationPermissionInfoProvider, IInfoProvider<ApplicationPermissionInfo>, IInfoByIdProvider<ApplicationPermissionInfo>, IInfoByGuidProvider<ApplicationPermissionInfo>
Inheritance
object
ApplicationPermissionInfoProvider
Implements
Inherited Members
Extension Methods

Constructors

ApplicationPermissionInfoProvider()

Initializes a new instance of the ApplicationPermissionInfoProvider class.

public ApplicationPermissionInfoProvider()

Methods

GetApplicationPermissionRoles(string, string)

Returns collection of role IDs belonging to given application permission.

[Obsolete("The member is deprecated and will be removed in the next version.")]
[ObsoleteSince(29, 7)]
public virtual IEnumerable<int> GetApplicationPermissionRoles(string application, string permission)

Parameters

application string

Application identifier

permission string

Permission code name

Returns

IEnumerable<int>

Remarks

If application permission has no roles assigned then empty collection is returned.

Method does not throw an exception for nen-existing or empty inputs values.