Eplan Platform API
Eplan.EplApi.DataModel Namespace / Project Class / CurrentUserName Property

In This Topic
    CurrentUserName Property
    In This Topic
    Gets/sets the current user name for this instance the current user name is written as last modifier when changing or creating an object the user name internally references an UserInfo object setting a username, which does exist as unused current UserInfo or historic entry will reuse this UserInfo object setting a username, which does not exist, will create a new UserInfo object for this computer and instance setting the current user requires that neither a undo step nor a transaction is open
    Syntax
    public string CurrentUserName {get; set;}
    public:
    property String^ CurrentUserName {
       String^ get();
       void set (    String^ value);
    }

    Property Value

    current user name for this instance
    Exceptions
    ExceptionDescription
    Thrown on set when undo or transaction is open or the user name does not exist.
    See Also