Hide Table of Contents
GetTransitionCommentPermissions Method (IEdmVault20)

Gets whether the specified user must add a state change comment for the specified workflow transitions for the specified documents.

Syntax

Visual Basic (Declaration) 
Function GetTransitionCommentPermissions( _
   ByVal lUserID As System.Integer, _
   ByVal poDocIds() As System.Integer, _
   ByVal poTransNames() As System.String _
) As System.Boolean()
C# 
System.bool[] GetTransitionCommentPermissions( 
   System.int lUserID,
   System.int[] poDocIds,
   System.string[] poTransNames
)
C++/CLI 
System.array<bool>^ GetTransitionCommentPermissions( 
&   System.int lUserID,
&   System.array<int>^ poDocIds,
&   System.array<String^>^ poTransNames
) 

Parameters

lUserID
User ID (see Remarks)
poDocIds
Array of document IDs (see Remarks)
poTransNames
Array of workfow transition names (see Remarks)

Return Value

Array of booleans (see Remarks)

Example

See the IEdmVault20 examples.

Remarks

The returned one-dimensional array contains (n * m) booleans indicating whether lUserID must add a state change comment on each workflow transition in poTransNames for each document in poDocIds. 

For:

  • n = size of poDocIds
  • m = size of poTransNames
  • permbool_* = true or false

the returned array follows the order of elements in poDocIds and poTransNames as follows:

{

      permbool_poDocIds(0)_poTransNames(0)

      ...

      permbool_poDocIds(0)_poTransNames(m-1)

      permbool_poDocIds(1)_poTransNames(0)

      ...

      permbool_poDocIds(1)_poTransNames(m-1)

      ...

      ...

      permbool_poDocIds(n-1)_poTransNames(0)

      ...

      permbool_poDocIds(n-1)_poTransNames(m-1)

}

 

See Also

Availability

SOLIDWORKS PDM Professional 2019


Provide feedback on this topic

SOLIDWORKS welcomes your feedback concerning the presentation, accuracy, and thoroughness of the documentation. Use the form below to send your comments and suggestions about this topic directly to our documentation team. The documentation team cannot answer technical support questions. Click here for information about technical support.

* Required

 
*Email:  
Subject:   Feedback on Help Topics
Page:   GetTransitionCommentPermissions Method (IEdmVault20)
*Comment:  
*   I acknowledge I have read and I hereby accept the privacy policy under which my Personal Data will be used by Dassault Systèmes

Print Topic

Select the scope of content to print:

x

We have detected you are using a browser version older than Internet Explorer 7. For optimized display, we suggest upgrading your browser to Internet Explorer 7 or newer.

 Never show this message again
x

Web Help Content Version: API Help (English only) 2019 SP05

To disable Web help from within SOLIDWORKS and use local help instead, click Help > Use SOLIDWORKS Web Help.

To report problems encountered with the Web help interface and search, contact your local support representative. To provide feedback on individual help topics, use the “Feedback on this topic” link on the individual topic page.