Esempio n. 1
0
 /// <summary>
 /// Add the specified user to the list of authorized session users.
 /// @see DenyUser, DenyAllUsers, IsAuthorizedUser
 /// </summary>
 /// <param name="userName">The name of the user to add.</param>
 public static void AuthorizeUser(string userName)
 {
     using (FStringUnsafe userNameUnsafe = FStringPool.New(userName))
     {
         Native_FApp.AuthorizeUser(ref userNameUnsafe.Array);
     }
 }