Filter settings
Within some settings, filter can be specified to get certain instances of objects. These settings are original .net C# code, therefore the basic type defines which functions can be used.
This might be not very comfortable for inexperienced users, but on the other hand, will give you great possibilities to configure filters in any situation.
String functions
Attributes
Attribute |
Description |
Equals() |
Check if attribute equals a certain string. |
Contains() |
Check if attribute contains a certain string. |
StartsWith() |
Check if attribute starts with a certain string. |
EndsWith() |
Check if attribute ends with a certain string. |
Examples
- *String attribute*.
Equals
("test string")
- *String attribute*.
Contains
("st str")
- *String attribute*.
StartsWith
("test")
- *String attribute*.
EndsWith
("string")
List Functions (array functions)
Attributes
Attribute |
Description |
First() |
Use linq functionality to access certain objects within the list. |
Where() |
Use linq functionality to access certain objects within the list. |
... |
Use further linq functionality to access certain objects within the list. |
Examples
- *List*.
First
(c => c.Type.Equals("upn")).Value.EndsWith("@yourmaildomain\")
- *List*.
Where
(c => c.Type.Equals("mail")).FirstOrDefault().Value.Equals("yourmeailaddress")
Claim Functions (System.Security.Claims.Claim)
Attributes
Attribute |
Description |
Type |
Type of the claim. |
Value |
Value of the claim. |
Examples
- *Claims*.First(c => c.
Type
.Equals("upn")).Value
.EndsWith("@yourmaildomain\")
- *Claims*.Where(c => c.
Type
.Equals("mail")).FirstOrDefault().Value
.Equals("yourmeailaddress")