1

I need to know what properties do we get for a form authenticated user in sharepoint 2013(which can uniquely identify them like ID), i need to keep track of activities performed by each user who visits the site.

2

Depends on your forms authentication provider. In general, you would get the properties of the SPUser object, if populated by your provider.

The ID property is assigned at the Site Collection level, so is not consistent across all of SharePoint. In general, use the LoginName property.

  • Alerts
  • Email
  • Groups
  • ID
  • IsDomainGroup
  • IsSiteAdmin
  • LoginName
  • Name
  • Roles
  • Sid
  • Xml

https://docs.microsoft.com/en-us/dotnet/api/microsoft.sharepoint.spuser

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.