How to access channel managers through programing?
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Microsoft Content Management Server > How to access channel managers through programing?




Pages (2): [1] 2 »   Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    How to access channel managers through programing?  
GoCMS


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
10-25-04 10:49 PM

Hi, there:
I want to access the channel managers( or all administrators) for a
specific channel ( or a posting ). Can I do that through program?  Thanks!





[ Post a follow-up to this message ]



    Re: How to access channel managers through programing?  
Stefan [MSFT]


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
10-25-04 10:49 PM

Hi,

there is no supported way to achieve this.
The best workaround is to assign an AD group for each rights group and then
enumerate this AD group using ADSI.

Cheers,
Stefan.

--
This posting is provided "AS IS" with no warranties, and confers no rights.

MCMS FAQ:
http://download.microsoft.com/downl...>
MCMS+2002+-+(complete)+FAQ.htm
MCMS Blog: http://blogs.msdn.com/stefan_gossner/category/4983.aspx
MCMS Sample Code:
http://www.gotdotnet.com/community/...nagement+Server
MCMS Whitepapers and other docs:
http://blogs.msdn.com/stefan_gossne...2/07/41859.aspx
--------------------------------


"GoCMS" <GoCMS@discussions.microsoft.com> wrote in message
news:C3417276-B723-487F-9248-838BA58689B9@microsoft.com...
> Hi, there:
>   I want to access the channel managers( or all administrators) for a
> specific channel ( or a posting ). Can I do that through program?  Thanks!







[ Post a follow-up to this message ]



    Re: How to access channel managers through programing?  
GoCMS


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
10-25-04 10:49 PM

Can you maybe give a code example?
So...what does the posting.Approvers() contain? I wish it had have all the
users who have the approval rights of that posing. Since, admin and channel
managers can definitely approve the page. Thanks!

"Stefan [MSFT]" wrote:

> Hi,
>
> there is no supported way to achieve this.
> The best workaround is to assign an AD group for each rights group and the
n
> enumerate this AD group using ADSI.
>
> Cheers,
> Stefan.
>
> --
> This posting is provided "AS IS" with no warranties, and confers no rights
.
>
> MCMS FAQ:
> http://download.microsoft.com/downl...
a/MCMS+2002+-+(complete)+FAQ.htm
> MCMS Blog: http://blogs.msdn.com/stefan_gossner/category/4983.aspx
> MCMS Sample Code:
> http://www.gotdotnet.com/community/...nagement+Server
> MCMS Whitepapers and other docs:
> http://blogs.msdn.com/stefan_gossne...2/07/41859.aspx
> --------------------------------
>
>
> "GoCMS" <GoCMS@discussions.microsoft.com> wrote in message
> news:C3417276-B723-487F-9248-838BA58689B9@microsoft.com... 
>
>
>





[ Post a follow-up to this message ]



    Re: How to access channel managers through programing?  
Stefan [MSFT]


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
10-26-04 12:46 PM

Hi,

posting.Approvers contains a collection of users able to approve the posting
in its current state.
Sorry I don't have an ADSI code example.
Please check on an AD related newsgroup.

Cheers,
Stefan.

--
This posting is provided "AS IS" with no warranties, and confers no rights.

MCMS FAQ:
http://download.microsoft.com/downl...>
MCMS+2002+-+(complete)+FAQ.htm
MCMS Blog: http://blogs.msdn.com/stefan_gossner/category/4983.aspx
MCMS Sample Code:
http://www.gotdotnet.com/community/...nagement+Server
MCMS Whitepapers and other docs:
http://blogs.msdn.com/stefan_gossne...2/07/41859.aspx
--------------------------------


"GoCMS" <GoCMS@discussions.microsoft.com> wrote in message
news:28B63685-E53E-4076-BAED-6D30EF289469@microsoft.com...
> Can you maybe give a code example?
> So...what does the posting.Approvers() contain? I wish it had have all the
> users who have the approval rights of that posing. Since, admin and
channel[vbcol=seagreen]
> managers can definitely approve the page. Thanks!
>
> "Stefan [MSFT]" wrote:
> 
then[vbcol=seagreen] 
rights.[vbcol=seagreen] 
http://download.microsoft.com/downl...
+Server[vbcol=seagreen] 
Thanks![vbcol=seagreen] 







[ Post a follow-up to this message ]



    Re: How to access channel managers through programing?  
GoCMS


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
10-26-04 12:46 PM

Let's say A is administrators who can do anything for any channels.
B is just an editor for a posting.
When a change is submitted for this posting, A doesn't seem to be in the
posting.Approvers collection. What if I want to send notifications to A as
well?


"Stefan [MSFT]" wrote:

> Hi,
>
> posting.Approvers contains a collection of users able to approve the posti
ng
> in its current state.
> Sorry I don't have an ADSI code example.
> Please check on an AD related newsgroup.
>
> Cheers,
> Stefan.
>
> --
> This posting is provided "AS IS" with no warranties, and confers no rights
.
>
> MCMS FAQ:
> http://download.microsoft.com/downl...
a/MCMS+2002+-+(complete)+FAQ.htm
> MCMS Blog: http://blogs.msdn.com/stefan_gossner/category/4983.aspx
> MCMS Sample Code:
> http://www.gotdotnet.com/community/...nagement+Server
> MCMS Whitepapers and other docs:
> http://blogs.msdn.com/stefan_gossne...2/07/41859.aspx
> --------------------------------
>
>
> "GoCMS" <GoCMS@discussions.microsoft.com> wrote in message
> news:28B63685-E53E-4076-BAED-6D30EF289469@microsoft.com... 
> channel 
> then 
> rights. 
> http://download.microsoft.com/downl...
a/MCMS+2002+-+(complete)+FAQ.htm 
> http://www.gotdotnet.com/community/...nagement+Server 
> Thanks! 
>
>
>





[ Post a follow-up to this message ]



    Re: How to access channel managers through programing?  
Stefan [MSFT]


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
10-26-04 12:46 PM

Hi,

add A to the Editors group of the channel.

Cheers,
Stefan.

--
This posting is provided "AS IS" with no warranties, and confers no rights.

MCMS FAQ:
http://download.microsoft.com/downl...>
MCMS+2002+-+(complete)+FAQ.htm
MCMS Blog: http://blogs.msdn.com/stefan_gossner/category/4983.aspx
MCMS Sample Code:
http://www.gotdotnet.com/community/...nagement+Server
MCMS Whitepapers and other docs:
http://blogs.msdn.com/stefan_gossne...2/07/41859.aspx
--------------------------------


"GoCMS" <GoCMS@discussions.microsoft.com> wrote in message
news:B11DB069-AF8B-4785-873C-467F0A415935@microsoft.com...[vbcol=seagreen]
> Let's say A is administrators who can do anything for any channels.
> B is just an editor for a posting.
> When a change is submitted for this posting, A doesn't seem to be in the
> posting.Approvers collection. What if I want to send notifications to A as
> well?
>
>
> "Stefan [MSFT]" wrote:
> 
posting[vbcol=seagreen] 
rights.[vbcol=seagreen] 
http://download.microsoft.com/downl...
+Server[vbcol=seagreen] 
the[vbcol=seagreen] 
and[vbcol=seagreen] 
http://download.microsoft.com/downl...
+Server[vbcol=seagreen] 
for a[vbcol=seagreen] 







[ Post a follow-up to this message ]



    Re: How to access channel managers through programing?  
GoCMS


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
10-26-04 10:48 PM

Hi, there are two problems: I seem to have a very long list of admistrators.
So adding each one to editors( or even moderstors) seems not good, especiall
y
administrators already have any right anybody wants.
Two: I wonder what happened when the page is published, what will the
posting.approvers contain.
Correct me if I'm wrong, the status of posting vs that values
posting.approvers have

Status:                                 posting.approvers:
Change is submitted  --------- Editors for the posting
Editor approve posting---------Moderators for the posting
Moderators approve   ---------Administrators or nothing?

Is there any way to find a collection of CMS users, other than
posting.Approvers?
Maybe I'll have to go through each user to check CanCreateChannel,
CanApprove properties.
All that I'm trying to is to find appropriate person to notify when a page
is changed
in this way or that. Thank you very much.



"Stefan [MSFT]" wrote:

> Hi,
>
> add A to the Editors group of the channel.
>
> Cheers,
> Stefan.
>
> --
> This posting is provided "AS IS" with no warranties, and confers no rights
.
>
> MCMS FAQ:
> http://download.microsoft.com/downl...
a/MCMS+2002+-+(complete)+FAQ.htm
> MCMS Blog: http://blogs.msdn.com/stefan_gossner/category/4983.aspx
> MCMS Sample Code:
> http://www.gotdotnet.com/community/...nagement+Server
> MCMS Whitepapers and other docs:
> http://blogs.msdn.com/stefan_gossne...2/07/41859.aspx
> --------------------------------
>
>
> "GoCMS" <GoCMS@discussions.microsoft.com> wrote in message
> news:B11DB069-AF8B-4785-873C-467F0A415935@microsoft.com... 
> posting 
> rights. 
> http://download.microsoft.com/downl...
a/MCMS+2002+-+(complete)+FAQ.htm 
> http://www.gotdotnet.com/community/...nagement+Server 
> the 
> and 
> http://download.microsoft.com/downl...
a/MCMS+2002+-+(complete)+FAQ.htm 
> http://www.gotdotnet.com/community/...nagement+Server 
> for a 
>
>
>





[ Post a follow-up to this message ]



    Re: How to access channel managers through programing?  
Stefan [MSFT]


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
10-26-04 10:48 PM

Hi,

Although administrators can act in any other role they usually do
administrative tasks.
They would be bothered about emails that they should approve something if
they are not part of the real workflow.
And there is no way to restrict an administrator not to have this right!

To avoid this the administrator will not automatically be returned in the
approvers list if he has not been added to the actual approver list.

There is no supported way to get such a list.

Cheers,
Stefan.

--
This posting is provided "AS IS" with no warranties, and confers no rights.

MCMS FAQ:
http://download.microsoft.com/downl...>
MCMS+2002+-+(complete)+FAQ.htm
MCMS Blog: http://blogs.msdn.com/stefan_gossner/category/4983.aspx
MCMS Sample Code:
http://www.gotdotnet.com/community/...nagement+Server
MCMS Whitepapers and other docs:
http://blogs.msdn.com/stefan_gossne...2/07/41859.aspx
--------------------------------


"GoCMS" <GoCMS@discussions.microsoft.com> wrote in message
news:C5B22C5B-5646-42A5-9287-FE25AC9ABF1E@microsoft.com...
> Hi, there are two problems: I seem to have a very long list of
admistrators.
> So adding each one to editors( or even moderstors) seems not good,
especially[vbcol=seagreen]
> administrators already have any right anybody wants.
> Two: I wonder what happened when the page is published, what will the
> posting.approvers contain.
> Correct me if I'm wrong, the status of posting vs that values
> posting.approvers have
>
> Status:                                 posting.approvers:
> Change is submitted  --------- Editors for the posting
> Editor approve posting---------Moderators for the posting
> Moderators approve   ---------Administrators or nothing?
>
> Is there any way to find a collection of CMS users, other than
> posting.Approvers?
> Maybe I'll have to go through each user to check CanCreateChannel,
> CanApprove properties.
> All that I'm trying to is to find appropriate person to notify when a page
> is changed
> in this way or that. Thank you very much.
>
>
>
> "Stefan [MSFT]" wrote:
> 
rights.[vbcol=seagreen] 
http://download.microsoft.com/downl...
+Server[vbcol=seagreen] 
the[vbcol=seagreen] 
A as[vbcol=seagreen] 
http://download.microsoft.com/downl...
+Server[vbcol=seagreen] 
all[vbcol=seagreen] 
and[vbcol=seagreen] 
group[vbcol=seagreen] 
no[vbcol=seagreen] 
http://download.microsoft.com/downl...egory/4983.aspx[vbcol=seagreen] 
http://www.gotdotnet.com/community/...
+Server[vbcol=seagreen] 
http://blogs.msdn.com/stefan_gossne...2/07/41859.aspx[vbcol=seagreen] 
administrators)[vbcol=seagreen] 
program?[vbcol=seagreen] 







[ Post a follow-up to this message ]



    Re: How to access channel managers through programing?  
GoCMS


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
10-26-04 10:48 PM

I see... it's probably true our site  is not implemented in a standard way,
in terms of user rolls.

So... after the editor appoved a page, are there ways to get a list of
moderators to push publications? It looks to me, the posting.Approvers will
only contain editors, when it's in Waiting for Editor Approval state, and
nothing  when in Waiting for Moderator Approval state.



"Stefan [MSFT]" wrote:

> Hi,
>
> Although administrators can act in any other role they usually do
> administrative tasks.
> They would be bothered about emails that they should approve something if
> they are not part of the real workflow.
> And there is no way to restrict an administrator not to have this right!
>
> To avoid this the administrator will not automatically be returned in the
> approvers list if he has not been added to the actual approver list.
>
> There is no supported way to get such a list.
>
> Cheers,
> Stefan.
>
> --
> This posting is provided "AS IS" with no warranties, and confers no rights
.
>
> MCMS FAQ:
> http://download.microsoft.com/downl...
a/MCMS+2002+-+(complete)+FAQ.htm
> MCMS Blog: http://blogs.msdn.com/stefan_gossner/category/4983.aspx
> MCMS Sample Code:
> http://www.gotdotnet.com/community/...nagement+Server
> MCMS Whitepapers and other docs:
> http://blogs.msdn.com/stefan_gossne...2/07/41859.aspx
> --------------------------------
>
>
> "GoCMS" <GoCMS@discussions.microsoft.com> wrote in message
> news:C5B22C5B-5646-42A5-9287-FE25AC9ABF1E@microsoft.com... 
> admistrators. 
> especially 
> rights. 
> http://download.microsoft.com/downl...
a/MCMS+2002+-+(complete)+FAQ.htm 
> http://www.gotdotnet.com/community/...nagement+Server 
> the 
> A as 
> http://download.microsoft.com/downl...
a/MCMS+2002+-+(complete)+FAQ.htm 
> http://www.gotdotnet.com/community/...nagement+Server 
> all 
> and 
> group 
> no 
> http://download.microsoft.com/downl...
a/MCMS+2002+-+(complete)+FAQ.htm 
> http://blogs.msdn.com/stefan_gossner/category/4983.aspx 
> http://www.gotdotnet.com/community/...nagement+Server 
> http://blogs.msdn.com/stefan_gossne...2/07/41859.aspx 
> administrators) 
> program? 
>
>
>





[ Post a follow-up to this message ]



    Re: How to access channel managers through programing?  
Stefan [MSFT]


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
10-26-04 10:48 PM

Hi,

actually if the posting is in "Waiting for Moderator Approval" state the
Approvers method will list all approvers in the assigned moderators groups.
If no users are listed then most likely no users are assigned to this
moderator group.

Cheers,
Stefan.

--
This posting is provided "AS IS" with no warranties, and confers no rights.

MCMS FAQ:
http://download.microsoft.com/downl...>
MCMS+2002+-+(complete)+FAQ.htm
MCMS Blog: http://blogs.msdn.com/stefan_gossner/category/4983.aspx
MCMS Sample Code:
http://www.gotdotnet.com/community/...nagement+Server
MCMS Whitepapers and other docs:
http://blogs.msdn.com/stefan_gossne...2/07/41859.aspx
--------------------------------


"GoCMS" <GoCMS@discussions.microsoft.com> wrote in message
news:25EB84A2-DB71-4B60-A4DF-56005660A6E1@microsoft.com...
> I see... it's probably true our site  is not implemented in a standard
way,
> in terms of user rolls.
>
> So... after the editor appoved a page, are there ways to get a list of
> moderators to push publications? It looks to me, the posting.Approvers
will[vbcol=seagreen]
> only contain editors, when it's in Waiting for Editor Approval state, and
> nothing  when in Waiting for Moderator Approval state.
>
>
>
> "Stefan [MSFT]" wrote:
> 
if[vbcol=seagreen] 
the[vbcol=seagreen] 
rights.[vbcol=seagreen] 
http://download.microsoft.com/downl...
+Server[vbcol=seagreen] 
page[vbcol=seagreen] 
http://download.microsoft.com/downl...
+Server[vbcol=seagreen] 
channels.[vbcol=seagreen] 
in[vbcol=seagreen] 
to[vbcol=seagreen] 
the[vbcol=seagreen] 
no[vbcol=seagreen] 
http://download.microsoft.com/downl...egory/4983.aspx[vbcol=seagreen] 
http://www.gotdotnet.com/community/...
+Server[vbcol=seagreen] 
http://blogs.msdn.com/stefan_gossne...2/07/41859.aspx[vbcol=seagreen] 
have[vbcol=seagreen] 
admin[vbcol=seagreen] 
confers[vbcol=seagreen] 
http://download.microsoft.com/downl...
+Server[vbcol=seagreen] 







[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 12:57 PM.      Post New Thread    Post A Reply      
Pages (2): [1] 2 »   Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register