Click or drag to resize

RoleAssignmentCreationParams Class

Creation parameters for creating multiple resourceassignments for an identity
Inheritance Hierarchy
SystemObject
  Omada.OE.Solution.OIM.AppLogicResourceAssignmentCreationParamsBase
    Omada.OE.Solution.OIM.AppLogicRoleAssignmentCreationParams

Namespace:  Omada.OE.Solution.OIM.AppLogic
Assembly:  Omada.OE.Solution.OIM.AppLogic (in Omada.OE.Solution.OIM.AppLogic.dll) Version: 15.0.0.0
Syntax
C#
[SerializableAttribute]
public class RoleAssignmentCreationParams : ResourceAssignmentCreationParamsBase

The RoleAssignmentCreationParams type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyAccountName
Value of accountname on the role assignment
(Inherited from ResourceAssignmentCreationParamsBase.)
Public propertyAccountSystemId
System id of the account. Can be 0
(Inherited from ResourceAssignmentCreationParamsBase.)
Public propertyAccountType
Integer Id of AccounType for which the resource is valid for
(Inherited from ResourceAssignmentCreationParamsBase.)
Public propertyContextId
Id of Context the identity belongs to
(Inherited from ResourceAssignmentCreationParamsBase.)
Public propertyIdentityId
Public propertyPolicyCheckHasViolations
Set to true if the policy check has violations
(Inherited from ResourceAssignmentCreationParamsBase.)
Public propertyPolicyCheckResult
The result of the policy check serialized to JSON
(Inherited from ResourceAssignmentCreationParamsBase.)
Public propertyPropertyValues
Dictionary holding values for properties present on the role assignment data object type. The values will be assigned to the properties of the created role assignment data objects. The keys are property ids. The values must correspond to the type and data type of the corredponding property. - Value property w. datatype 'text': string - Value property w. datatype 'integer': int - Value property w. datatype 'datetime': DateTime - Value property w. datatype 'decimal': double - Value property w. datatype 'boolean': bool - Value property w. datatype 'timespan': TimeSpan - Reference property: ReferencePropertyValue - Set property: SetPropertyValue A value can also be null.
(Inherited from ResourceAssignmentCreationParamsBase.)
Public propertyRoleAttributeValues
List of RequestedResourceAttributes objects holding values for eventual attributes per resource being added to the created role assignments. Each RequestedResourceAttributes object contains a Dictionary with the attributeId as key and attributevalue as value
Public propertySetActive
If true the status of the role assignment is set to Active. If false it is set to Pending.
(Inherited from ResourceAssignmentCreationParamsBase.)
Top
Methods
  NameDescription
Public methodValidate
Top
Fields
  NameDescription
Public fieldCopyRuleId
Takes the Guid of a CopyRule which is executed after the creation of the roleAssignment SourceObjectId must be supplied for this to work
(Inherited from ResourceAssignmentCreationParamsBase.)
Public fieldLevel1ApprovalProcessTemplateId
Id of process template used for approval of role assignments that only require one level of approval.
(Inherited from ResourceAssignmentCreationParamsBase.)
Public fieldLevel2ApprovalProcessTemplateId
Id of process template used for approval of role assignments that require two levels of approval.
(Inherited from ResourceAssignmentCreationParamsBase.)
Public fieldNotificationMailTemplateId
Id of a mail template defined for activities. If specified a mail is sent to the step-1 approvers for the launched approval processes. This is regardless of whether the approval processes have 1 step or 2 steps.
(Inherited from ResourceAssignmentCreationParamsBase.)
Public fieldOriginId
Id of a data object (f.x. a joiner object) that is the reason why the role assignments are being created.
(Inherited from ResourceAssignmentCreationParamsBase.)
Public fieldRequestorId
UserId of the user who has requested the role assignments.
(Inherited from ResourceAssignmentCreationParamsBase.)
Public fieldRequestorReason
Stated reason from the requestor for why he has requested the role assignments.
(Inherited from ResourceAssignmentCreationParamsBase.)
Public fieldRoleApprovalProcessLaunchParametersModifier
Public fieldRoleIds
Ids of resources for which resource assignment data objects should be created.
Public fieldSkipApproval
Skip launching approval processes? Even if set to false approval processes will be skipped for role assignments that don't need approval.
(Inherited from ResourceAssignmentCreationParamsBase.)
Public fieldSkipEvents
Skip launching events at save?
(Inherited from ResourceAssignmentCreationParamsBase.)
Public fieldSourceObjectId
Source object which will be used for copying data to the newly created roleAssignment CopyRuleGuid must be specified
(Inherited from ResourceAssignmentCreationParamsBase.)
Public fieldThrowExceptionIfNoAssignmentsCreated
If set to true (default) The API throws and exception if no assignments can be created
(Inherited from ResourceAssignmentCreationParamsBase.)
Public fieldValidFrom
Role assignments will be valid from (and including) this date.
(Inherited from ResourceAssignmentCreationParamsBase.)
Public fieldValidTo
Role assignments will be valid to (and including) this date.
(Inherited from ResourceAssignmentCreationParamsBase.)
Top
Extension Methods
  NameDescription
Public Extension MethodToBool
Converts object to boolean.
(Defined by ObjectExtensions.)
Public Extension MethodToDateTime
Converts object to DateTime.
(Defined by ObjectExtensions.)
Public Extension MethodToInt
Converts object to integer.
(Defined by ObjectExtensions.)
Top
See Also