DictSecurityKey dictSecurityKey = new DictSecurityKey(securityKeyNum(OneSecurityKeyName));
AccessType fkeyAccess = dictSecurityKey.rights();
;
if (fkeyAccess != AccessType::NoAccess)
{
print 'You have right to access OneSecurityKeyName';
}
pause;