NB.GetUser - Get current user
This commit is contained in:
1 parent
ce8b16c2d6
commit
364858d07c
2 files changed
+8
-1
No files matched your search
@@ -420,6 +420,13 @@ namespace EduNetworkBuilder
|
||||
return myWin;
|
||||
}
|
||||
|
||||
public static PersonClass GetUser()
|
||||
{
|
||||
BuilderWindow BW = GetBuilderWin();
|
||||
if (BW == null) return null;
|
||||
return BW.CurrentUser;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Return a translated string in the current chosen language
|
||||
/// </summary>
|
||||
|
||||
@@ -53,7 +53,7 @@ namespace EduNetworkBuilder
|
||||
|
||||
private string InitialFileLoad = "";
|
||||
|
||||
private PersonClass CurrentUser;
|
||||
public PersonClass CurrentUser;
|
||||
|
||||
public BuilderWindow(string FirstArg="")
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user