BMXNET 4.0 Developer API
Return a list of keys that the user does NOT have. If the user has all of
the keys then an empty list is returned
Namespace:
IndianHealthService.BMXNet.ModelAssembly: BMXNET40 (in BMXNET40.dll)
Syntax
C# | Visual Basic | Visual C++ |
Parameters
- keys
- array<
String
>[]()[]
a list of keys to compare against the user's keys
Return Value
A list of keys the user does not have, empty of the user has them allRemarks
The HasSecurityKeys appraoch does not give those with PROGMODE a free-pass since it compares
the actual keys. HasSecurityKeys uses RequestKeys
Examples
List<String> missingKeys=aUser.HasSecurityKeys(new string[] { "Key1","Key2" });
if (missingKeys.Count==0) {
//Take a secured path
} else {
MessageBox.Show(missingKeys);
}