|
SecurityProviderUtilityCreateProvider(String, IPrincipal, String) Method
|
Namespace: GSF.SecurityAssembly: GSF.Security (in GSF.Security.dll) Version: 2.4.246-beta
Syntaxpublic static ISecurityProvider CreateProvider(
string username,
IPrincipal passthroughPrincipal,
string settingsCategory = null
)
Public Shared Function CreateProvider (
username As String,
passthroughPrincipal As IPrincipal,
Optional settingsCategory As String = Nothing
) As ISecurityProvider
public:
static ISecurityProvider^ CreateProvider(
String^ username,
IPrincipal^ passthroughPrincipal,
String^ settingsCategory = nullptr
)
static member CreateProvider :
username : string *
passthroughPrincipal : IPrincipal *
?settingsCategory : string
(* Defaults:
let _settingsCategory = defaultArg settingsCategory null
*)
-> ISecurityProvider
GSF.Security.SecurityProviderUtility.CreateProvider = function(username, passthroughPrincipal, settingsCategory);
View SourceParameters
- username String
- Username of the user for whom the ISecurityProvider is to be created.
- passthroughPrincipal IPrincipal
- IPrincipal obtained through alternative authentication mechanisms to provide authentication for the ISecurityProvider.
- settingsCategory String (Optional)
- The category used to store configuration settings for the provider.
Return Value
ISecurityProviderAn object that implements
ISecurityProvider.
See Also