Custom Login page in SharePoint 2013 with FBA autentication - customization

How can I customize the default login page in SharePoint 2013 with FBA authentication, but will not create a new login page, I want to modify the page that already exists.

The deafult login page is located here: C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\TEMPLATE\IDENTITYMODEL\LOGIN\default.aspx. You can modify that in Visual Studio. I know you said that you didn't want to create a new one but you could make a copy of the deafult one, add that to a new project and make your changes to the copy. That way you will preserve the default login page if you need to revert back.

Related

WindowsIdentity object works on IIS Express (Visula Studio) but does not work on IIS (10)

BC users need to retrieve files from a non-cloud file store. There is a simple webservice on the storage computer that can provide contents of the files. WS gets a user name. Users exists as users on the computer/LAN, where the files are stored, so the webservice is able to check whether the user has read permission on the file or not.
WS cannot get a user password, so I cannot make any impersonation, but the webservice runs in context with privileges able to read all these documents and can check permissions by user name.
I found a solution, how to check file permissions by user name. Solution works well in development environment (IIS Express in Visual Studio) but fails on IIS (production environment). The problem seems to be the initialization of the WindowsIdentity object, where proces on IIS fails with the message: "A specified logon session does not exist. It may already have been terminated."
Constructor of WindowsIdentity object probably calls some AD service and some restriction in IIS it rejects.
Do you have any suggestions on what to set up in IIS or what to do to make permission checking work?

How to access page by address in APEX

In the interactive report I developed with Apex, the table on the home page shows the information of a list of projects, including project name, owner etc. And the project name field of each project is a click which redirect to another page that shows more detailed project's information. In short, there is a link on the home page which directs to the page A. Sometimes, I need to copy and paste the address of this page A and send it to my colleagues so that they can go to that page directly by copying the address to their browser. However, when I tried to use the address to view the page, I got redirect to the home page instead of page A. Why this is the case? How can I achieve the redirection I want in APEX?
P.S. My APEX application do have access control where only authorised people can create and edit items in the report, but everyone can view the item and the page A is the viewing page. I am not sure if this access control have anything to do with the issue.
I got the answer from APEX forum, so I am gonna write the answer here so that it might be of some help.
The url has a session id, which belongs to the app. By default, if you copy and paste this address to another browser, a new session will be created and the old id will not be valid anymore and the url will redirect you to the login page or the home page. If you want to make this url valid all the time, you need change the deep link attribute to be enabled under the authentication. Please refer to Deep Linking for more details.

Add user to Sharepoint database

I created a web part for Sharepoint 2013 which reads the email address from the user that is currently logged in. I'm deploying locally and the only user I have is the administrator which has also no email address yet.
Where can I add an email address for the administrator?
Where can I create a new user account?
Sorry for these basic questions but I'm pretty new to SP and I couldn't find any solution on the web yet.
Thanks for your help!
This depends on your SharePoint instance (if it is on o365 or on-prem).
In case of o365 it is being managed by Azure AD (you can use the o365 admin center to change the email property) and if this is on-prem instance you have to change user property inside your Windows Server Active Directory.
After you do that make sure you run the full sync on the user profile job.
Needs to be done in the Active Directory. Search for "Active Directory Users and Computers" on your machine.

rss viewer webpart is missing in sharepoint 2013 how to activate it

rss viewer webpart is missing in sharepoint 2013 it is shown in default folder and when adding the rss viewer web part from default folder it shows the error 'An unexpected error occurred processing your request. Check the logs for details and correct the problem.'
The corresponding feature might not be enabled, so you should follow this path:
Under Site Settings, click Modify All Site Settings.
Under Site Collection Administration, click Site Collection Features.
Enable Office SharePoint Server Enterprise Site Collection features.
If the problem is not solved, you can try going to the central administration:
Under Central Administration, click on Operations.
Under Upgrade and Migration, select Enable Features On Existing Sites.
Select the appropriate checkbox, and click OK.

what is the proper way to change a users password in TFS 2013

I don't see a way through the website administration pages. If I am wrong, please correct me. Most of the searches I found, include ones on this site, said that TFS doesn't have anything built in to change the password.
I have users set up in their own group in Windows and those users have access to certain projects.
A user forgot his password so I was trying to reset it for him. I didn't find anything on the TFS administration webpages and the only place I know to change it is his user in Windows.
When I right click on the user and click change password, I get this message:
If I do it this way, will it update the TFS info? Is this the proper way to change the user's password in TFS 2013?
TFS doesn't have anything built in to change the password.
Correct. Per the TFS Authentication and Access page, there are no authentication options 'local' to TFS itself. A standard implementation of Basic authentication uses Windows user accounts, so changing their Windows user credentials will work correctly in TFS.
This does not "update" TFS; TFS simply queries the respective authority in workgroup/domain environments, and authentication will be successful as long as the user's Windows credentials are entered correctly.