|
AdoSecurityProviderExtractSecurityContext Method
|
Extracts the current security context from the database.
Namespace: GSF.SecurityAssembly: GSF.Security (in GSF.Security.dll) Version: 2.4.205-beta
Syntax static member ExtractSecurityContext :
connection : IDbConnection *
exceptionHandler : Action<Exception> *
?currentUserName : string
(* Defaults:
let _currentUserName = defaultArg currentUserName null
*)
-> DataSet
GSF.Security.AdoSecurityProvider.ExtractSecurityContext = function(connection, exceptionHandler, currentUserName);
View SourceParameters
- connection IDbConnection
- Existing database connection used to extract security context.
- exceptionHandler ActionException
- Exception handler to use for any exceptions encountered while updating security cache.
- currentUserName String (Optional)
- Current user name, if applicable in calling context.
Return Value
DataSetA new
DataSet containing the latest security context.
See Also