Main Content

getUser

Get user for OSLC client

    Description

    example

    user = getUser(myClient) returns the configured user for the OSLC client myClient.

    Examples

    collapse all

    This example shows how to get the user for an OSLC client created in MATLAB® and configure the client to connect to an OSLC service provider for the requirements management domain.

    After you have created and configured an OSLC client as described in Create and Configure an OSLC Client for the Requirements Management Domain, get the user for the OSLC client myClient.

    user = getUser(myClient)
    user =
    
        'jdoe'

    Input Arguments

    collapse all

    OSLC client, specified as an oslc.Client object.

    Output Arguments

    collapse all

    User for the OSLC client, returned as a character vector.

    Introduced in R2021a