UserId and MySite
Windows Server Forum Index Windows Server
Server discussion on Windows platform.
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web winserverhelp.com
UserId and MySite

 
Post new topic   Reply to topic    Windows Server Forum Index -> Portal Server Development
Author Message
Bach
Guest





Posted: Wed Nov 02, 2005 1:51 am    Post subject: UserId and MySite Reply with quote

Hi,
I made a WebControl (it inherits from
Microsoft.SharePoint.WebControls.SPControl)and it is used on
SPSMSITE/public.aspx (the public part of My Site) where its supposed to
extend the "business card" with some additional personal data.
Now, how do I get the id of the user who "ownes" the public MySite so that I
can render his personal data?
(The webcontrol <SPSWC:ProfilePropertyValue PropertyName="AccountName"
ApplyFormatting="true" runat="server" /> renders the info that im looking
for).
Thanks!
Back to top
Wei-Dong XU [MSFT]
Guest





Posted: Wed Nov 02, 2005 9:20 am    Post subject: RE: UserId and MySite Reply with quote

Hi,

We could use the SPWeb.Author property to obtain the site owner account.
After that, the UserProfile class will return the information about this
account for you.

Please feel free to let me know if you have any further question on this
matter.

Best Regards,
Wei-Dong XU
Microsoft Product Support Services
This posting is provided "AS IS" with no warranties, and confers no rights.
It is my pleasure to be of assistance.
Back to top
Andre Bielski
Guest





Posted: Wed Nov 09, 2005 1:50 am    Post subject: RE: UserId and MySite Reply with quote

I am trying build some additional functionality related to alerts and I have
a concern.

At what point or what event triggers a UserID getting established for a user?

Is it possible to create alerts for folks that haven’t visited the site?

It appears I need a UserID to create in alert.

"Wei-Dong XU [MSFT]" wrote:

Quote:

Hi,

We could use the SPWeb.Author property to obtain the site owner account.
After that, the UserProfile class will return the information about this
account for you.

Please feel free to let me know if you have any further question on this
matter.

Best Regards,
Wei-Dong XU
Microsoft Product Support Services
This posting is provided "AS IS" with no warranties, and confers no rights.
It is my pleasure to be of assistance
Back to top
 
Post new topic   Reply to topic    Windows Server Forum Index -> Portal Server Development All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




New Topics Powered by phpBB