Hide Table of Contents
CreateUser Method (IPDMWConnection)

Creates a new user.

.NET Syntax

Visual Basic (Declaration) 
Function CreateUser( _
   ByVal Name As String, _
   ByVal password As String, _
   ByVal DisplayName As String, _
   ByVal Email As String, _
   ByVal Comment As String, _
   ByVal PropertyFilterName As String, _
   ByVal PropertyFilterValue As String _
) As PDMWUser
Visual Basic (Usage) 
Dim instance As IPDMWConnection
Dim Name As String
Dim password As String
Dim DisplayName As String
Dim Email As String
Dim Comment As String
Dim PropertyFilterName As String
Dim PropertyFilterValue As String
Dim value As PDMWUser
 
value = instance.CreateUser(Name, password, DisplayName, Email, Comment, PropertyFilterName, PropertyFilterValue)
C# 
PDMWUser CreateUser( 
   string Name,
   string password,
   string DisplayName,
   string Email,
   string Comment,
   string PropertyFilterName,
   string PropertyFilterValue
)
C++/CLI 
PDMWUser^ CreateUser( 
&   String^ Name,
&   String^ password,
&   String^ DisplayName,
&   String^ Email,
&   String^ Comment,
&   String^ PropertyFilterName,
&   String^ PropertyFilterValue
) 

Parameters

Name
Name of new user
password

Password for new user required at login

DisplayName

Name of new user for vault administrator's purposes

Email
Email of new user for vault administrator's purposes
Comment
Comments for vault administrator's purposes
PropertyFilterName

Name of property to use to restrict access to files and projects or an empty string to indicate that properties are not in use to restrict access

PropertyFilterValue
Values for properties (use a comma between values) to restrict access to files and projects or an empty string to indicate that properties are not in use to restrict access

Return Value

IPDMWUser object

Remarks

Only a vault administrator can use this method.
 

See Also

Availability

SolidWorks Workgroup PDM 2006 FCS


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:   CreateUser Method (IPDMWConnection)
*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) 2012 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.