Share via


SPClaimsAuthRoleProvider.Initialize method

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

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

SPClaimsAuthRoleProvider members

Microsoft.SharePoint.Administration.Claims namespace