| Author |
Message |
Bach
Guest
|
Posted:
Wed Nov 02, 2005 1:51 am Post subject:
UserId and MySite |
|
|
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 |
|
|
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 |
|
|
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 |
|
 |
|
|
|
|