_XOnDAO2_User_VIs.vi

Description



URCreateInGroup

This function creates a new User object in a Group.

Parameters

error Errorcode of this operation: -1 if handle not initialized, 1 if function

works correct, -2 if Error.

urHdl Handle of the User Object

gpHdl Handle of the Group Object

Name pointer to a string that uniquely names the new User object.

PID pointer to a string containing the personal identifier (PID) of a user account.

The PID must contain from 4 to 20 alphanumeric characters.

Password pointer to a string containing the password for the new CdbUser object.

The password can be up to 14 characters long and can include any

characters except the ASCII character 0 ( null ).


Connector Pane

URCreateInGroup


Controls and Indicators

cdlrn

URHandle

cclst

error in (no error)

The error in cluster can accept error information wired from VIs previously called. Use this information to decide if any functionality should be bypassed in the event of errors from other VIs.

The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed.

cstr

Name

cdlrn

GPHandle

cstr

PID

cstr

Password

idlrn

URHandle out

iclst

error out

The error out cluster passes error or warning information out of a VI to be used by other VIs.

The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed.

ii32

error

idlrn

GPHandle out

URCreateinWorkspace

This function creates a new User object in a Group.

Parameters

error Errorcode of this operation: -1 if handle not initialized, 1 if function

works correct, -2 if Error.

urHdl Handle of the User Object

gpHdl Handle of the Group Object

Name pointer to a string that uniquely names the new User object.

PID pointer to a string containing the personal identifier (PID) of a user account.

The PID must contain from 4 to 20 alphanumeric characters.

Password pointer to a string containing the password for the new CdbUser object.

The password can be up to 14 characters long and can include any

characters except the ASCII character 0 ( null ).


Connector Pane

URCreateinWorkspace


Controls and Indicators

cdlrn

URHandle

cclst

error in (no error)

The error in cluster can accept error information wired from VIs previously called. Use this information to decide if any functionality should be bypassed in the event of errors from other VIs.

The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed.

cstr

Name

cdlrn

WSHandle

cstr

PID

cstr

Password

idlrn

URHandle out

iclst

error out

The error out cluster passes error or warning information out of a VI to be used by other VIs.

The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed.

ii32

error

idlrn

WSHandle out

URDeleteUR

This function is the destructor of the User Handle.

The Handle is invalid afterwards

Parameters

urHdl Handle of the User Object

XOn Software GmbH


Connector Pane

URDeleteUR


Controls and Indicators

cdlrn

URHandle

cclst

error in (no error)

The error in cluster can accept error information wired from VIs previously called. Use this information to decide if any functionality should be bypassed in the event of errors from other VIs.

The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed.

iclst

error out

The error out cluster passes error or warning information out of a VI to be used by other VIs.

The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed.


URGetGroups

Returns GSHandle(GroupsHandle); Use this Handle to open a Groups Function, i.e. to add Membership to an existing Group.

Parameters

error Errorcode of this operation: -1 if handle not initialized, 1 if function

works correct, -2 if Error.

urHdl Handle of the User Object

gsHdl Handle of the Groups Object


Connector Pane

URGetGroups


Controls and Indicators

cdlrn

URHandle

cclst

error in (no error)

The error in cluster can accept error information wired from VIs previously called. Use this information to decide if any functionality should be bypassed in the event of errors from other VIs.

The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed.

cdlrn

GSHandle

idlrn

URHandle out

iclst

error out

The error out cluster passes error or warning information out of a VI to be used by other VIs.

The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed.

ii32

error

idlrn

GSHandle out

URGetName

This function returns a defined name for a DAO User object

Parameters

error Errorcode of this operation: -1 if handle not initialized, 1 if function

works correct, -2 if Error.

urHdl Handle of the User Object

Name pointer to a string that will contain the name of the User.

Length max. length of the Name


Connector Pane

URGetName


Controls and Indicators

cdlrn

URHandle

cclst

error in (no error)

The error in cluster can accept error information wired from VIs previously called. Use this information to decide if any functionality should be bypassed in the event of errors from other VIs.

The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed.

ci32

Length

idlrn

URHandle out

iclst

error out

The error out cluster passes error or warning information out of a VI to be used by other VIs.

The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed.

istr

Name

ii32

error

URNewPassword

This function changes the Password of a User

Parameters

error Errorcode of this operation: -1 if handle not initialized, 1 if function

works correct, -2 if Error.

urHdl Handle of the User Object

Old The old Password

New The new Password


Connector Pane

URNewPassword


Controls and Indicators

cdlrn

URHandle

cclst

error in (no error)

The error in cluster can accept error information wired from VIs previously called. Use this information to decide if any functionality should be bypassed in the event of errors from other VIs.

The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed.

cstr

Old

cstr

New

idlrn

URHandle out

iclst

error out

The error out cluster passes error or warning information out of a VI to be used by other VIs.

The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed.

ii32

error

URNewUR

This function is the constructor of the UserHandle.

Parameters

urHdl Handle of the User Object

XOn Software GmbH


Connector Pane

URNewUR


Controls and Indicators

cclst

error in (no error)

The error in cluster can accept error information wired from VIs previously called. Use this information to decide if any functionality should be bypassed in the event of errors from other VIs.

The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed.

idlrn

URHandle out

iclst

error out

The error out cluster passes error or warning information out of a VI to be used by other VIs.

The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed.


URPutName

This function sets a user-defined name for a DAO User object

Parameters

error Errorcode of this operation: -1 if handle not initialized, 1 if function

works correct, -2 if Error.

urHdl Handle of the User Object

Name pointer to a string that contains the name of the User


Connector Pane

URPutName


Controls and Indicators

cdlrn

URHandle

cclst

error in (no error)

The error in cluster can accept error information wired from VIs previously called. Use this information to decide if any functionality should be bypassed in the event of errors from other VIs.

The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed.

cstr

Name

idlrn

URHandle out

iclst

error out

The error out cluster passes error or warning information out of a VI to be used by other VIs.

The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed.

ii32

error

URPutPassword

Sets the password for a user account

Parameters

error Errorcode of this operation: -1 if handle not initialized, 1 if function

works correct, -2 if Error.

urHdl Handle of the User Object

Password pointer to a string that contains up to 14 characters and can include any

characters except the ASCII character 0 (null).


Connector Pane

URPutPassword


Controls and Indicators

cdlrn

URHandle

cclst

error in (no error)

The error in cluster can accept error information wired from VIs previously called. Use this information to decide if any functionality should be bypassed in the event of errors from other VIs.

The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed.

cstr

Password

idlrn

URHandle out

iclst

error out

The error out cluster passes error or warning information out of a VI to be used by other VIs.

The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed.

ii32

error

URPutPID

this function sets the personal identifier (PID) for a user account.

Parameters

error Errorcode of this operation: -1 if handle not initialized, 1 if function

works correct, -2 if Error.

urHdl Handle of the User Object

PID pointer to string that contains 4-20 alphanumeric characters of

the personal identifier.


Connector Pane

URPutPID


Controls and Indicators

cdlrn

URHandle

cclst

error in (no error)

The error in cluster can accept error information wired from VIs previously called. Use this information to decide if any functionality should be bypassed in the event of errors from other VIs.

The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed.

cstr

PID

idlrn

URHandle out

iclst

error out

The error out cluster passes error or warning information out of a VI to be used by other VIs.

The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed.

ii32

error