AFSecurity.ClearSecurityRightsCache Method
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
Clears the cache used by the CheckSecurity Overload
methods.
Namespace: OSIsoft.AF
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
Syntax
public static void ClearSecurityRightsCache( PISystem system )
Public Shared Sub ClearSecurityRightsCache ( system As PISystem ) Dim system As PISystem AFSecurity.ClearSecurityRightsCache(system)
public: static void ClearSecurityRightsCache( PISystem^ system )
static member ClearSecurityRightsCache : system : PISystem -> unit
Parameters
- system
- Type: OSIsoft.AFPISystem
The PISystem for the security rights cache to be cleared.
Remarks
The cache used by the CheckSecurity Overload methods
for the specified system will be cleared. This is useful if security
has been modified in another application and you want to ensure that you are using the
latest updates.