AccessCache Class
Access Cache Class : Caches all Object, Class, and Property Structure elements.
User and Groups Access rights are stored on the structure element that each are related to.
Used in order to check the Levels of Access a User or UserGroup has to a Object, Class or Property,
or from an
ObjVerEx.
AccessCache cache = new AccessCache( ServerVault );
ObjVerEx objVerEx = ObjVerEx.Parse( ServerVault, "(0-6)" );
AccessCache.ObjVerExPermissions objVerExPermissions = new AccessCache.ObjVerExPermissions(
objVerEx,
cache,
( int ) MFBuiltInUserGroup.MFBuiltInUserGroupAllInternalUsers,
true );
Console.WriteLine( objVerExPermissions.ToString(true) );
AccessCache.Accessibility hiddenProp = objVerExPermissions.Properties.SingleOrDefault( p => p.StructureID == 1234 );
Assert.IsNotNull( hiddenProp );
Assert.IsFalse( hiddenProp.CanRead );
Namespace: MFiles.VAF.CommonAssembly: MFiles.VAF (in MFiles.VAF.dll) Version: 24.1.706.1
- Inheritance
- Object AccessCache