Class Provider
- Assembly
- Dynamicweb.Security.dll
Represents a external login provider.
public class Provider : DbObject
- Inheritance
-
Provider
- Inherited Members
Constructors
Provider()
Initializes a new instance of an object.
public Provider()
Properties
Created
Gets the date and time when the provider was created.
public DateTime Created { get; }
Property Value
EnableForBackendLogOn
Gets or sets the value indicating whether the login provider can be used for backend log on.
public bool EnableForBackendLogOn { get; set; }
Property Value
ExternalLoginProvider
Gets or sets the reference to Provider that handles the actual communication with the External Login platform.
[Obsolete("Use ExternalLogOnProvider instead")]
public ExternalLoginProvider ExternalLoginProvider { get; set; }
Property Value
ExternalLogOnProvider
Gets or sets the reference to Provider that handles the actual communication with the External Login platform.
public ExternalLoginProvider ExternalLogOnProvider { get; set; }
Property Value
FullType
Gets or sets the full assembly type of the provider.
public string FullType { get; set; }
Property Value
IsActive
Gets or sets value indicating whether login provider is active.
public bool IsActive { get; set; }
Property Value
Name
Gets or sets the name of the provider.
public string Name { get; set; }
Property Value
Parameters
Gets or sets the XML string representing provider parameters.
public string Parameters { get; set; }
Property Value
ProviderType
Gets or sets the type of the provider.
public string ProviderType { get; set; }
Property Value
Type
Gets or sets the type of the provider.
[Obsolete("Use ProviderType instead")]
public string Type { get; set; }
Property Value
Updated
Gets the date and time when the provider was updated.
public DateTime Updated { get; }
Property Value
Methods
Delete(int)
Deletes provider
public override void Delete(int id)
Parameters
id
int- Identifier of provider to be deleted
Fill(IDataReader)
Fills object properties with data from the given IDataReader object.
public override void Fill(IDataReader reader)
Parameters
reader
IDataReader- Reader to read data from.
FillRow(DataRow)
Fills the given DataRow object with object state values.
protected override void FillRow(DataRow row)
Parameters
row
DataRow- Row to write data into.
GetActiveProviders()
Returns a list of all active providers.
public static ProviderCollection GetActiveProviders()
Returns
- ProviderCollection
- A list of all active providers.
GetActiveProvidersForBackend()
Returns a list of active providers which can be used for backend log on.
public static ProviderCollection GetActiveProvidersForBackend()
Returns
- ProviderCollection
- A collection of providers.
GetProviderById(int)
Returns the provider by its Id.
public static Provider GetProviderById(int id)
Parameters
id
int- Provider Id.
Returns
- Provider
- A provider with the given Id or null (Nothing in Visual Basic) if the provider with the given Id doesn't exist.
GetProviders()
Returns a list of all available providers.
public static ProviderCollection GetProviders()
Returns
- ProviderCollection
- A list of all available providers.
Save()
Saves current data to the data base.
public override void Save()