SenseNet.ContentRepository.UserProfile.Save C# (CSharp) Method

Save() public method

public Save ( NodeSaveSettings settings ) : void
settings SenseNet.ContentRepository.Storage.NodeSaveSettings
return void
        public override void Save(NodeSaveSettings settings)
        {
            var thisUser = this.User;
            if (thisUser != null) // skip when importing
            {
                this.NodeCreatedBy = thisUser;
                this.NodeModifiedBy = thisUser;
                this.CreatedBy = thisUser;
                this.ModifiedBy = thisUser;
            }
            base.Save(settings);
        }
    }