simwb.rtuser

simwb.rtuser represents a real-time user object.

Syntax

rtuser_obj = simwb.rtuser('username','password')

Description

The real-time user object is used to provide access to the real-time host. The real password is encoded and stored in the EncodedPass property of this object. This encoded password is used to log into the real-time host. Authenticated users on the real-time host may be provided access to different groups resources. The groups that the current authenticated user can access is listed in the Groups property.

Property Summary

Property Description Writable

Username

Username to login with

Yes

Password

Password to use with the username

Yes

EncodedPass

Encoded password. The real password is obfuscated by *****.

No

Groups

Cell array of groups the user has access to. This field is populated only when the real-time object connects to the real-time host.

No

Example: rtuser_usage.m