///<summary>Sets the value of the <c><CreationUser></c> element.</summary> /// <param name="Type">The role of the staff member for that created this attendance record.</param> /// <param name="UserId">Unique identifier of the user that created the attendance record. This will depend on the user and the source. The preferred identifier would be a RefId for a StaffPersonal, StudentContact, or StudentPersonal Object. However, the user may not be associated with any of these SIF objects. In that case a unique ID given by the source should be used.</param> ///<remarks> /// <para>This form of <c>setCreationUser</c> is provided as a convenience method /// that is functionally equivalent to the <c>CreationUser</c></para> /// <para>Version: 2.6</para> /// <para>Since: 2.0</para> /// </remarks> public void SetCreationUser(AuditInfoType Type, string UserId) { RemoveChild(GradebookDTD.AUDITINFO_CREATIONUSER); AddChild(GradebookDTD.AUDITINFO_CREATIONUSER, new CreationUser(Type, UserId)); }
///<summary>Sets the value of the <c><CreationUser></c> element.</summary> /// <param name="Type">The role of the staff member for that created this attendance record.</param> /// <param name="UserId">Unique identifier of the user that created the attendance record. This will depend on the user and the source. The preferred identifier would be a RefId for a StaffPersonal, StudentContact, or StudentPersonal Object. However, the user may not be associated with any of these SIF objects. In that case a unique ID given by the source should be used.</param> ///<remarks> /// <para>This form of <c>setCreationUser</c> is provided as a convenience method /// that is functionally equivalent to the <c>CreationUser</c></para> /// <para>Version: 2.6</para> /// <para>Since: 2.0</para> /// </remarks> public void SetCreationUser( AuditInfoType Type, string UserId ) { RemoveChild( GradebookDTD.AUDITINFO_CREATIONUSER); AddChild( GradebookDTD.AUDITINFO_CREATIONUSER, new CreationUser( Type, UserId ) ); }
/// <summary> /// Constructor that accepts values for all mandatory fields /// </summary> ///<param name="type">The role of the staff member for that created this attendance record.</param> ///<param name="userId">Unique identifier of the user that created the attendance record. This will depend on the user and the source. The preferred identifier would be a RefId for a StaffPersonal, StudentContact, or StudentPersonal Object. However, the user may not be associated with any of these SIF objects. In that case a unique ID given by the source should be used.</param> /// public CreationUser( AuditInfoType type, string userId ) : base(GradebookDTD.CREATIONUSER) { this.SetType( type ); this.UserId = userId; }
/// <summary> /// Sets the value of the <c>Type</c> attribute. /// </summary> /// <param name="val">A AuditInfoType object</param> /// <remarks> /// <para>The SIF specification defines the meaning of this attribute as: "The role of the staff member for that created this attendance record."</para> /// <para>Version: 2.6</para> /// <para>Since: 2.0</para> /// </remarks> public void SetType( AuditInfoType val ) { SetField( GradebookDTD.CREATIONUSER_TYPE, val ); }
/// <summary> /// Sets the value of the <c>Type</c> attribute. /// </summary> /// <param name="val">A AuditInfoType object</param> /// <remarks> /// <para>The SIF specification defines the meaning of this attribute as: "The role of the staff member for that created this attendance record."</para> /// <para>Version: 2.6</para> /// <para>Since: 2.0</para> /// </remarks> public void SetType(AuditInfoType val) { SetField(GradebookDTD.CREATIONUSER_TYPE, val); }
/// <summary> /// Constructor that accepts values for all mandatory fields /// </summary> ///<param name="type">The role of the staff member for that created this attendance record.</param> ///<param name="userId">Unique identifier of the user that created the attendance record. This will depend on the user and the source. The preferred identifier would be a RefId for a StaffPersonal, StudentContact, or StudentPersonal Object. However, the user may not be associated with any of these SIF objects. In that case a unique ID given by the source should be used.</param> /// public CreationUser(AuditInfoType type, string userId) : base(GradebookDTD.CREATIONUSER) { this.SetType(type); this.UserId = userId; }