| RoPEControllerGetAccountInfosForResource Method |
Loads the account types of the resource (permission or role) and the existing account names for the identity,
that matches the resource.
This can be used in a self service access request to link an assignment with an account type.
Security is checked
Namespace:
Omada.OE.Solution.OIM.AppLogic
Assembly:
Omada.OE.Solution.OIM.AppLogic (in Omada.OE.Solution.OIM.AppLogic.dll) Version: 15.0.0.0
Syntaxpublic virtual IEnumerable<AccountInfo> GetAccountInfosForResource(
int identityId,
int resourceId,
bool onlyIncludeActualAccounts
)
Parameters
- identityId
- Type: SystemInt32
The beneficiary identity.
- resourceId
- Type: SystemInt32
Id of a requested resource.
- onlyIncludeActualAccounts
- Type: SystemBoolean
If true, only AccountInfo objects for Account types
that the identity has an account for are returned.
Return Value
Type:
IEnumerableAccountInfo
Returns a collection of
AccountInfo objects.
If the identity has an account for one the Account types
AccountName
will contain the account name,
AccountSystemId will contain the system id of the account resource
and
AccountSystemName will contain the display name of the system.
See Also