Getting a list of site users in Sharepoint 2010 - sharepoint-2010

I'm developing an application on top of Sharepoint Foundation 2010. I'm wondering if it's possible to get all defined users of a certain Sharepoint site? By this I mean getting their IDs (or GUIDs, however they're represented) as well as their human friendly names. So I need any special rights to do this?

The topic was discussed on this thread:
SharePoint - Get a list of current users
SharePoint - Get a list of current users

Related

How to execute a Query/access sharepoint list in MS Project?

I need to populate my resource list in MS Project from a Sharepoint list. The authentication method for sharepoint is the windows credential/company credentials.
I was thinking by SOAP or a query already saved (this will be better since I have the processing Power query). What is the best way to do this?
This can actually be pretty interesting depending on how much access your SharePoint farm admin folks allow you to have.
SOAP is fine probably. But I've always used REST to access a SP List through SP's API. I've used this site: https://learn.microsoft.com/en-us/sharepoint/dev/sp-add-ins/complete-basic-operations-using-sharepoint-rest-endpoints to great effect when creating and accessing lists from remote applications. Anything that can send an authenticated rest / generate a token with credentials should be able to get the LIST and even edit it.
One thing to remember among the many nuances of SP development is that list names are often different when accessing through SOAP or REST API points. You may need to figure out your own List naming conventions and any special character codes like underscore or spaces and their corresponding SP codes ((http://sharepoint.stackexchange.com/questions/787/finding-the-internal-name-and-display-name-for-a-list-column))
EDIT if you have power query, you can use the built in connect to sharepoint template in most Office Apps that feature PQ. That might be good, since it should allow you to save the credentials you have to get the SP without having to generate a token through SOAP or REST. But REST is my main experience here. I've used PQ in Excel to access SP list.

SharePoint 2010 chart web part displaying web analytics

Have anybody used SP2010 out of the box chart web part to display web analytics data? e.g most viewed page etc. Or know if this is possible or a way around this? I can't seem to find anything that suggest that you can, would like to not use any third party tools.
Noop. I worked on a similar assignment where I extracted data from WebAnalyticsServiceApplication_ db.
I created SharePoint TimeJob which extracts data periodically and adds into a sharepoint List.
Later created Sharepoint application page with charts.js and Jquery to display charts based on the sharepoint list.
Note it is not advisable to directly access SharePoint Database. But my case was approved by my company.

Masking Credit Card Numbers in Sharepoint newform?

I have a sharepoint new form, where I want user to enter his description of issue and where he can mention the list of 'Credit Card Numbers' . As its a PII information I want the credit card numbers enetered by User to be masked in some way.
I use Sharepoint Designer 2010 only, so please provide me some option on how this can be done ?
Don't store PII data in SharePoint.
If you're using Designer, connect to a SQL datastore as a separate datasource. Technically, you'd be creating a SharePoint Web Application (not to be confused with a SharePoint Web Application within IIS and as a root of the farm).
We've done this many times within DoD organizations. SharePoint is not secure, and too many things can happen. It makes more sense to add that additional layer of security and abstraction by keeping the data in a separate SQL database, rather than in SharePoint lists. Remember, a user can always create a custom view, which will throw away all of the security your custom form may seem to provide.

Sharepoint 2010 discussion board user creation/authentication for internet (public) sites

We are creating a internet site (with anonymous access) in SharePoint 2010. One of the features requested is a discussion forum (not anonymous). We very much want to use the built in SharePoint Discussion Board (the look is dull, but we are OK with it). What I don't quite understand is how to implement user authentication and creation. Will every user have that participates in the discussion be a domain user? If I use a different authentication provider, how do I integrate external roles to SharePoint roles/permissions. Any tips or links on how to implement user management for public SharePoint sites would be great. Thanks.
Similar question, but not what I was looking for:
share point 2010 :how to create forum website , using in team discussion question and answerig?
https://stackoverflow.com/questions/5098521/any-decent-reference-materials-for-sharepoint-2010-for-internet-sites
Perhaps I didn't search well enough (or didn't use the correct terms) but I eventually found what I was looking for: SharePoint 2010 FBA Pack. With this, I am able to create all my users via SharePoint and manage permissions using the role provider. Very easy and powerful solution.

Integrating Sharepoint Calendar into Web Forms

I'm attempting to add a calendar to one of our VB.NET Web Forms-based websites which will be used for scheduling purposes. We want to have this calendar sync with our corresponding Sharepoint calendar.
My problem is this: I know that I can integrate a Web Part into a Web Forms page; can said Web Part use a calendar from our Sharepoint site as its data source? If so, how would I go about doing that?
Thanks for your help; I've done a lot of looking online, and I haven't been able to find anything, one way or the other.
you can integrate the webform calendar with sharepoint calendar using the webservices exposed by sharepoint in your case you would require to use lists.asmx
http://dotnetdreamer.com/2009/06/04/moss-web-services-accessing-sharepoint-list-data/