/// <summary> /// Create a new SecurityUserProfile object. /// </summary> /// <param name="userName">Initial value of the UserName property.</param> /// <param name="candidateId">Initial value of the CandidateId property.</param> /// <param name="passwordExpired">Initial value of the PasswordExpired property.</param> /// <param name="cfisType">Initial value of the CfisType property.</param> public static SecurityUserProfile CreateSecurityUserProfile(global::System.String userName, global::System.String candidateId, global::System.Boolean passwordExpired, global::System.Byte cfisType) { SecurityUserProfile securityUserProfile = new SecurityUserProfile(); securityUserProfile.UserName = userName; securityUserProfile.CandidateId = candidateId; securityUserProfile.PasswordExpired = passwordExpired; securityUserProfile.CfisType = cfisType; return(securityUserProfile); }
/// <summary> /// Deprecated Method for adding a new object to the SecurityUserProfiles EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToSecurityUserProfiles(SecurityUserProfile securityUserProfile) { base.AddObject("SecurityUserProfiles", securityUserProfile); }