Content Studio Web Content Management System
Assembly: CSServer5 (in CSServer5.dll) Version: 5.7.5016.0 (5.7.5016.0)
Xml containing the member document and the member parent.
If PerformMove is not requested the caller needs READ permission on both the Master and the member document.
The caller needs DELETE permission on the affected member document and CREATE permission on the new member parent document in order to perform the move.
[This is preliminary documentation and is subject to change.]
This method returns the document that would act as parent of a document if it should be in sync with a given master document.
Optionally you can ask this method to move the document for you.
Namespace: ContentStudio.Document.MLC
Assembly: CSServer5 (in CSServer5.dll) Version: 5.7.5016.0 (5.7.5016.0)
Syntax
public string GetMemberDocumentParent( ConnectionId connectionId, SessionId sessionId, DocumentId masterDocumentId, int memberLanguageId, bool performMove, bool createChild )
Parameters
- connectionId
- Type: ContentStudioConnectionId
A value that identifies the web site - sessionId
- Type: ContentStudio.SecuritySessionId
A value that identifies the user's session. This value usually originates from a call to OpenSession(ConnectionId). - masterDocumentId
- Type: ContentStudio.DocumentDocumentId
The master document to - memberLanguageId
- Type: SystemInt32
The language of the document to find. - performMove
- Type: SystemBoolean
Move the document to the desired place. - createChild
- Type: SystemBoolean
Make the moved document a child of its destination. Ignored if PerformMove is false.
Return Value
Type: StringXml containing the member document and the member parent.
<root> <status>0</status> <statustext>Success</statustext> <memberdocument>3467</memberdocument> <memberparent>4567</memberparent> </root>
Exceptions
Exception | Condition |
---|---|
CSException | A business rule was violated in the underlying Content Studio database
|
SqlException | An error occurred when executing the command against the Content Studio database |
Content Studio permissions
See Also