Method InvalidatePermissionCache(long?, long?)
Invalidate permission cache. Called after permission changes.
protected void InvalidatePermissionCache(long? userId = null, long? objectId = null)
Remarks
Only this database's entries: a permission change in one database says nothing about another. Other
processes (nodes of a cluster) are not reached and keep their entries until CacheLifetime runs out.