Microsoft.ResourceManagement.ObjectModel.ResourceTypes.RmPerson.EnsureSpecificAttributesExist C# (CSharp) Method

EnsureSpecificAttributesExist() protected method

Ensures all attributes exist.
protected EnsureSpecificAttributesExist ( ) : void
return void
        protected override void EnsureSpecificAttributesExist()
        {
            EnsureAttributeExists(AttributeNames.AccountName, false);
            EnsureAttributeExists(AttributeNames.AD_UserCannotChangePassword, false);
            EnsureAttributeExists(AttributeNames.Address, false);
            EnsureAttributeExists(AttributeNames.Assistant, false);
            EnsureAttributeExists(AttributeNames.AuthNWFLockedOut, true);
            EnsureAttributeExists(AttributeNames.AuthNWFRegistered, true);
            EnsureAttributeExists(AttributeNames.City, false);
            EnsureAttributeExists(AttributeNames.Company, false);
            EnsureAttributeExists(AttributeNames.CostCenter, false);
            EnsureAttributeExists(AttributeNames.CostCenterName, false);
            EnsureAttributeExists(AttributeNames.Country, false);
            EnsureAttributeExists(AttributeNames.Department, false);
            EnsureAttributeExists(AttributeNames.Domain, false);
            EnsureAttributeExists(AttributeNames.DomainConfiguration, false);
            EnsureAttributeExists(AttributeNames.Email, false);
            EnsureAttributeExists(AttributeNames.MailNickname, false);
            EnsureAttributeExists(AttributeNames.EmployeeEndDate, false);
            EnsureAttributeExists(AttributeNames.EmployeeID, false);
            EnsureAttributeExists(AttributeNames.EmployeeStartDate, false);
            EnsureAttributeExists(AttributeNames.EmployeeType, false);
            EnsureAttributeExists(AttributeNames.OfficeFax, false);
            EnsureAttributeExists(AttributeNames.FirstName, false);
            EnsureAttributeExists(AttributeNames.FreezeCount, false);
            EnsureAttributeExists(AttributeNames.FreezeLevel, false);
            EnsureAttributeExists(AttributeNames.JobTitle, false);
            EnsureAttributeExists(AttributeNames.LastName, false);
            EnsureAttributeExists(AttributeNames.LastResetAttemptTime, false);
            EnsureAttributeExists(AttributeNames.AuthNLockoutRegistrationID, true);
            EnsureAttributeExists(AttributeNames.LoginName, false);
            EnsureAttributeExists(AttributeNames.Manager, false);
            EnsureAttributeExists(AttributeNames.MiddleName, false);
            EnsureAttributeExists(AttributeNames.MobilePhone, false);
            EnsureAttributeExists(AttributeNames.OfficeLocation, false);
            EnsureAttributeExists(AttributeNames.OfficePhone, false);
            EnsureAttributeExists(AttributeNames.Photo, false);
            EnsureAttributeExists(AttributeNames.PostalCode, false);
            EnsureAttributeExists(AttributeNames.ProxyAddressCollection, true);
            EnsureAttributeExists(AttributeNames.IsRASEnabled, false);
            EnsureAttributeExists(AttributeNames.Register, false);
            EnsureAttributeExists(AttributeNames.RegistrationRequired, false);
            EnsureAttributeExists(AttributeNames.ResetPassword, false);
            EnsureAttributeExists(AttributeNames.ObjectSID, false);
            EnsureAttributeExists(AttributeNames.TimeZone, false);
            // ensure custom (non FIM-standard) attributes exist.
            EnsureCustomAttributesExist();
        }