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