
## Aggregate
An [aggregate](https://docs.erp.net/tech/advanced/concepts/aggregates.html) is a cluster of domain objects that can be treated as a single unit.  

Aggregate Parent:  
[Systems.Security.TrustedApplications](Systems.Security.TrustedApplications.md)  
Aggregate Root:  
[Systems.Security.TrustedApplications](Systems.Security.TrustedApplications.md)  

## Attributes

| Name | Type | Description |
| ---- | ---- | --- |
| [GrantTimeUtc](Systems.Security.TrustedApplicationAuthorizations.md#granttimeutc) | datetime | The time (in UTC) when the authorization was granted. `Required` `Default(NowUtc)` 
| [Id](Systems.Security.TrustedApplicationAuthorizations.md#id) | guid |  
| [IsRevoked](Systems.Security.TrustedApplicationAuthorizations.md#isrevoked) | boolean | Specifies whether the grant is explicitly revoked. `Required` `Default(false)` 
| [Notes](Systems.Security.TrustedApplicationAuthorizations.md#notes) | string (max) __nullable__ | Notes for this TrustedApplication<br />Authorization. 
| [ValidFromUtc](Systems.Security.TrustedApplicationAuthorizations.md#validfromutc) | datetime __nullable__ | The start of the validitiy of the authorization. null means that there is no restriction. 
| [ValidUntilUtc](Systems.Security.TrustedApplicationAuthorizations.md#validuntilutc) | datetime __nullable__ | The time (in UTC) when the grant expires. null means that there is no time restriction. 

## References

| Name | Type | Description |
| ---- | ---- | --- |
| [ContextUser](Systems.Security.TrustedApplicationAuthorizations.md#contextuser) | [Users](Systems.Security.Users.md) | The user, whose permissions are granted to the application. `Required` `Filter(multi eq)` |
| [GrantingUser](Systems.Security.TrustedApplicationAuthorizations.md#grantinguser) | [Users](Systems.Security.Users.md) | The user, who authorized the application. `Required` `Filter(multi eq)` |
| [TrustedApplication](Systems.Security.TrustedApplicationAuthorizations.md#trustedapplication) | [TrustedApplications](Systems.Security.TrustedApplications.md) | The application, which is authorized. `Required` `Filter(multi eq)` `Owner` |


## Attribute Details

### GrantTimeUtc

The time (in UTC) when the authorization was granted. `Required` `Default(NowUtc)`

_Type_: **datetime**  
_Supported Filters_: **NotFilterable**  
_Supports Order By_: **False**  
_Default Value_: **CurrentDateTimeUtc**  

### Id

_Type_: **guid**  
_Indexed_: **True**  
_Supported Filters_: **Equals, EqualsIn**  
_Default Value_: **NewGuid**  

### IsRevoked

Specifies whether the grant is explicitly revoked. `Required` `Default(false)`

_Type_: **boolean**  
_Supported Filters_: **NotFilterable**  
_Supports Order By_: **False**  
_Default Value_: **False**  

### Notes

Notes for this TrustedApplicationAuthorization.

_Type_: **string (max) __nullable__**  
_Supported Filters_: **NotFilterable**  
_Supports Order By_: **False**  
_Maximum Length_: **2147483647**  

### ValidFromUtc

The start of the validitiy of the authorization. null means that there is no restriction.

_Type_: **datetime __nullable__**  
_Supported Filters_: **NotFilterable**  
_Supports Order By_: **False**  

### ValidUntilUtc

The time (in UTC) when the grant expires. null means that there is no time restriction.

_Type_: **datetime __nullable__**  
_Supported Filters_: **NotFilterable**  
_Supports Order By_: **False**  


## Reference Details

### ContextUser

The user, whose permissions are granted to the application. `Required` `Filter(multi eq)`

_Type_: **[Users](Systems.Security.Users.md)**  
_Supported Filters_: **Equals, EqualsIn**  

### GrantingUser

The user, who authorized the application. `Required` `Filter(multi eq)`

_Type_: **[Users](Systems.Security.Users.md)**  
_Supported Filters_: **Equals, EqualsIn**  

### TrustedApplication

The application, which is authorized. `Required` `Filter(multi eq)` `Owner`

_Type_: **[TrustedApplications](Systems.Security.TrustedApplications.md)**  
_Supported Filters_: **Equals, EqualsIn**  
_[Filterable Reference](https://docs.erp.net/dev/domain-api/filterable-references.html)_: **True**  



## Business Rules

[!list limit=1000 erp.entity=Systems.Security.TrustedApplicationAuthorizations erp.type=business-rule default-text="None"]

## Front-End Business Rules

[!list limit=1000 erp.entity=Systems.Security.TrustedApplicationAuthorizations erp.type=front-end-business-rule default-text="None"]

## API

Domain API Query:
<https://demodb.my.erp.net/api/domain/odata/Systems_Security_TrustedApplicationAuthorizations?$top=10>

Domain API Query Builder:
<https://demodb.my.erp.net/api/domain/querybuilder#Systems_Security_TrustedApplicationAuthorizations?$top=10>

How Hillary Clinton plans to 'get under Donald Trump's skin' in Monday night's presidential debate
Hillary Clinton plans to "get under Donald Trump's skin" and provoke him into losing his temper in front of 100 million people at the first US presidential debate, but experts warned the strategy could backfire if she descends to her opponent's level...
But experts said such personal gibes were high risk and could see the debate descend into a mud-slinging match which Mrs Clinton would inevitably lose.
One Republican consultant said: "If you mud wrestle with a pig both of you get dirty, but the pig likes it."
Brett O'Donnell, a well-known Republican debate coach, added: "It's a very big challenge for Hillary Clinton. Everybody who has played on Trump's ground in debates has done poorly. Ted Cruz, Jeb Bush, Marco Rubio, all of them.
"When they get sucked into the kind of debating Donald Trump does it didn't work out well for them. She should work on a way of staying above the fray."
Allies of Mr Trump suggested he would seek to disappoint the record-setting audience tuning in expecting fireworks.
They have impressed on him that he should keep his voice steady, refrain from overly personal remarks, avoid espousing conspiracy theories, and be courteous to the moderator. His advisers are keenly aware that only 30 per cent of registered voters consider the Republican nominee qualified to be president. They see the debate as an opportunity to "pass the Commander-in-Chief test" by showing he is capable of remaining calm in the eye of a storm.
One senior member of Mr Trump's campaign said their plan was to "present 'President Trump' to the American public".
Another said: "A really boring debate is a huge win for him."
In particular, Mr Trump's advisers believe a debate without major controversy would advance his cause with white college-educated women, who have been alienated by some of his rhetoric and antics on the campaign trail.
Mr Trump himself said: "I'm going to be very respectful of Hillary Clinton. I think she deserves that, and I'm going to be nice."
Brian Fallon, Mrs Clinton's spokesman, said: "We have no doubt that his handlers are prevailing on him to arrive at the debate more subdued, and to try to suppress his true self."
But the Clinton camp hopes over the course of 90 minutes, with no advertising breaks, she will be able to light a fuse under Mr Trump.
Despite her superior grasp of policy detail Mrs Clinton, who has been preparing for months, is said to have accepted the debate will be more about style and soundbites than substance. She has been readying deeply personal put-downs, absorbing green ring binders packed with background research on Mr Trump including psychological analysis.
Her campaign has also been speaking to Tony Schwartz, ghostwriter of Mr Trump's most famous book The Art of the Deal, who has turned against the businessman