Share via


AuthorizationFactory.GetAuthorizationProvider Method

Retired Content

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

Returns the default IAuthorizationProvider instance. Guaranteed to return an intialized IAuthorizationProvider if no exception thrown

Namespace:  Microsoft.Practices.EnterpriseLibrary.Security
Assembly:  Microsoft.Practices.EnterpriseLibrary.Security (in Microsoft.Practices.EnterpriseLibrary.Security.dll)

Syntax

'Declaration
PublicSharedFunctionGetAuthorizationProviderAs IAuthorizationProvider
publicstatic IAuthorizationProvider GetAuthorizationProvider()
public:
static IAuthorizationProvider^ GetAuthorizationProvider()
publicstaticfunctionGetAuthorizationProvider() : IAuthorizationProvider

Return Value

Default Authorization provider instance.

Exceptions

Exception Condition
System.Configuration.ConfigurationException Unable to create default IAuthorizationProvider

See Also

AuthorizationFactory Class

GetAuthorizationProvider Overload

Microsoft.Practices.EnterpriseLibrary.Security Namespace

Retired Content

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.