SPUserSettingsProvider.FillProviderContext method
Get provider context. Provider provides settings for user and may be called multiple times within one session. To help alleviate performance pain, we allow provider to create its own context and we'll pass them back to provider. Provider has to be able to handle NULL context.
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Protected MustOverride Function FillProviderContext ( _
user As SPUser, _
<OutAttribute> ByRef providerContext As Object _
) As Boolean
'Usage
Dim user As SPUser
Dim providerContext As Object
Dim returnValue As Boolean
returnValue = Me.FillProviderContext(user, _
providerContext)
protected abstract bool FillProviderContext(
SPUser user,
out Object providerContext
)
Parameters
- user
Type: Microsoft.SharePoint.SPUser
- providerContext
Type: System.Object
Return value
Type: System.Boolean