Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Initializes the application with the specified name.
Namespace: Microsoft.SharePoint.Administration.Claims
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Overrides Sub Initialize ( _
name As String, _
config As NameValueCollection _
)
'Usage
Dim instance As SPClaimsAuthRoleProvider
Dim name As String
Dim config As NameValueCollection
instance.Initialize(name, config)
public override void Initialize(
string name,
NameValueCollection config
)
Parameters
name
Type: System.StringThe name of the application.
config
Type: System.Collections.Specialized.NameValueCollectionA collection of the name/value pairs representing the provider-specific attributes specified in the configuration for this provider. This parameter is not used.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | name or config is null . |
Remarks
This method stores the value of the name parameter in the Name property. It ignores the config parameter.
See Also
Reference
SPClaimsAuthRoleProvider Class