SOLIDWORKS PDM Professional API Help Send Feedback
HasSysRightEx Method (IEdmUser7)
See Also  Example
EPDM.Interop.epdm Namespace > IEdmUser7 Interface : HasSysRightEx Method (IEdmUser7)


eRight
Permission as defined in EdmSysPerm
Gets whether this user has the specified permission.

Syntax

Visual Basic 
Function HasSysRightEx( _
   ByVal eRight As EdmSysPerm _
) As System.Boolean
C# 
System.bool HasSysRightEx( 
   EdmSysPerm eRight
)
C++/CLI 
System.bool HasSysRightEx( 
&   EdmSysPerm eRight
) 

Parameters

eRight
Permission as defined in EdmSysPerm

Return Value

True if the user has the permission, false if not

Example

Remarks

This method supersedes IEdmUser5::HasSysRight, which checked system permissions represented as bit flags that could be ORed together. As of SOLIDWORKS PDM Professional 2010, new permissions are represented as sequentially numbered constants that cannot be ORed together. You must call this method once for each permission you want to check.

Return codes: 

  • S_OK: The method successfully executed.
 

See Also

Availability

SOLIDWORKS PDM Professional 2010