Implements information about capabilities that various Mamberhip and Role providers supports.
Namespace:
EPiServer.SecurityAssembly: EPiServer (in EPiServer.dll) Version: 6.0.530.0
Syntax
| C# |
|---|
public class ProviderCapabilitySettings |
Remarks
How to use:
Question for property on provider:
ProviderCapabilities.IsSupported(membershipUser.ProviderName, "comment")
Question if provider supports create:
ProviderCapabilities.IsSupported(providerMemberName, ProviderCapabilities.Action.Create)