AFSecurity.ClearSecurityRightsCache Method
- Last UpdatedJan 12, 2026
- 2 minute read
- PI System
- AF SDK 3.2.0
- Developer
Clears the cache used by the CheckSecurity Overload
methods.
Namespace: OSIsoft.AF
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.2.0.7
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.