Click or drag to resize

AdoSecurityProviderExtractSecurityContext Method

Extracts the current security context from the database.

Namespace: GSF.Security
Assembly: GSF.Security (in GSF.Security.dll) Version: 2.4.181-beta
Syntax
public static DataSet ExtractSecurityContext(
	IDbConnection connection,
	Action<Exception> exceptionHandler,
	string currentUserName = null
)
View Source

Parameters

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

DataSet
A new DataSet containing the latest security context.
See Also