AuthorizationStoreRoleProvider.ScopeName Property
Gets or sets the scope name for the authorization store.
Assembly: System.Web (in System.Web.dll)
The ScopeName property can be set using the scopeName configuration attribute for the provider instance in the providers section of the roleManager configuration section.
Caution |
|---|
Because a single default role provider instance is used for all of the requests served by an HttpApplication object, you can have multiple requests executing concurrently and attempting to set the ScopeName property value. The ScopeName property is not thread safe for multiple writes, and changing the ScopeName property value can result in unexpected behavior when there are multiple users of an application. We recommend that you avoid writing code that allows users to set the ScopeName property unless you must. An example of an application where setting the ScopeName property may be required is an administrative application that manages role data for multiple applications. Such an application should be a single-user application and not a Web application. |
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Caution